From e4f1de88113728f9f5e5f7c85047978112d55131 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 9 Jan 2008 09:47:07 +0100 Subject: [PATCH] Updated to a new kernel. --- hidtest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hidtest.c b/hidtest.c index 0e51a0b..07e8065 100644 --- a/hidtest.c +++ b/hidtest.c @@ -4,9 +4,9 @@ #include #include #include -#include "/home/mj/linux/linux-2.6.20-rc3/include/linux/hiddev.h" +#include "/home/mj/linux/linux-2.6.23.9/include/linux/hiddev.h" -void die(char *x) +static void die(char *x) { fprintf(stderr, "hidtest: %s: %m\n", x); exit(1); @@ -15,7 +15,7 @@ void die(char *x) int main(void) { int i, j; - int fd = open("/dev/usb/hid/hiddev0", O_RDWR); + int fd = open("/dev/usb/hiddev0", O_RDWR); if (fd < 0) die("open"); int ver; -- 2.39.5