diff options
author | bde <bde@FreeBSD.org> | 2001-02-06 00:54:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-02-06 00:54:00 +0000 |
commit | 41bcb6a4a016c530880cb8ddb5aa8fa4afdf3138 (patch) | |
tree | 44b6564fd6be684e2516c3b3efc33d763e269168 /lib/libusbhid | |
parent | 9f31431f3561409addc6f96cce2f05ad9e74de03 (diff) | |
download | FreeBSD-src-41bcb6a4a016c530880cb8ddb5aa8fa4afdf3138.zip FreeBSD-src-41bcb6a4a016c530880cb8ddb5aa8fa4afdf3138.tar.gz |
Added used include of <sys/cdefs.h>.
Declare all the interfaces documented in usb.3 (2 were missing).
Diffstat (limited to 'lib/libusbhid')
-rw-r--r-- | lib/libusbhid/libusb.h | 4 | ||||
-rw-r--r-- | lib/libusbhid/libusbhid.h | 4 | ||||
-rw-r--r-- | lib/libusbhid/usbhid.h | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/lib/libusbhid/libusb.h b/lib/libusbhid/libusb.h index 7d4ac20..b616e85 100644 --- a/lib/libusbhid/libusb.h +++ b/lib/libusbhid/libusb.h @@ -29,6 +29,8 @@ * */ +#include <sys/cdefs.h> + typedef struct report_desc *report_desc_t; typedef struct hid_data *hid_data_t; @@ -88,6 +90,8 @@ int hid_report_size __P((report_desc_t d, unsigned int id, enum hid_kind k)); int hid_locate __P((report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h)); /* Conversion to/from usage names, usage.c: */ +int hid_parse_usage_page __P((const char *name)); +int hid_parse_usage_in_page __P((const char *name)); const char *hid_usage_page __P((int i)); const char *hid_usage_in_page __P((unsigned int u)); void hid_init __P((const char *file)); diff --git a/lib/libusbhid/libusbhid.h b/lib/libusbhid/libusbhid.h index 7d4ac20..b616e85 100644 --- a/lib/libusbhid/libusbhid.h +++ b/lib/libusbhid/libusbhid.h @@ -29,6 +29,8 @@ * */ +#include <sys/cdefs.h> + typedef struct report_desc *report_desc_t; typedef struct hid_data *hid_data_t; @@ -88,6 +90,8 @@ int hid_report_size __P((report_desc_t d, unsigned int id, enum hid_kind k)); int hid_locate __P((report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h)); /* Conversion to/from usage names, usage.c: */ +int hid_parse_usage_page __P((const char *name)); +int hid_parse_usage_in_page __P((const char *name)); const char *hid_usage_page __P((int i)); const char *hid_usage_in_page __P((unsigned int u)); void hid_init __P((const char *file)); diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h index 7d4ac20..b616e85 100644 --- a/lib/libusbhid/usbhid.h +++ b/lib/libusbhid/usbhid.h @@ -29,6 +29,8 @@ * */ +#include <sys/cdefs.h> + typedef struct report_desc *report_desc_t; typedef struct hid_data *hid_data_t; @@ -88,6 +90,8 @@ int hid_report_size __P((report_desc_t d, unsigned int id, enum hid_kind k)); int hid_locate __P((report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h)); /* Conversion to/from usage names, usage.c: */ +int hid_parse_usage_page __P((const char *name)); +int hid_parse_usage_in_page __P((const char *name)); const char *hid_usage_page __P((int i)); const char *hid_usage_in_page __P((unsigned int u)); void hid_init __P((const char *file)); |