summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/hid.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-07-17 18:41:20 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-07-17 18:41:20 +0000
commit66ea27ead1b92a8730555578c119d6f134ff8eb9 (patch)
treee5381d85afaac8614a52e652d0b23f4007e4b92f /sys/dev/usb/hid.h
parentcb5f5af3e064bdc4df0430305632db96551d5fa3 (diff)
downloadFreeBSD-src-66ea27ead1b92a8730555578c119d6f134ff8eb9.zip
FreeBSD-src-66ea27ead1b92a8730555578c119d6f134ff8eb9.tar.gz
Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD
versions.
Diffstat (limited to 'sys/dev/usb/hid.h')
-rw-r--r--sys/dev/usb/hid.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/hid.h b/sys/dev/usb/hid.h
index 5953ce5..dcf27e1 100644
--- a/sys/dev/usb/hid.h
+++ b/sys/dev/usb/hid.h
@@ -80,12 +80,12 @@ struct hid_item {
struct hid_item *next;
};
-struct hid_data *hid_start_parse __P((void *d, int len, int kindset));
-void hid_end_parse __P((struct hid_data *s));
-int hid_get_item __P((struct hid_data *s, struct hid_item *h));
-int hid_report_size __P((void *buf, int len, enum hid_kind k, u_int8_t *id));
-int hid_locate __P((void *desc, int size, u_int32_t usage,
+struct hid_data *hid_start_parse(void *d, int len, int kindset);
+void hid_end_parse(struct hid_data *s);
+int hid_get_item(struct hid_data *s, struct hid_item *h);
+int hid_report_size(void *buf, int len, enum hid_kind k, u_int8_t *id);
+int hid_locate(void *desc, int size, u_int32_t usage,
enum hid_kind kind, struct hid_location *loc,
- u_int32_t *flags));
-u_long hid_get_data __P((u_char *buf, struct hid_location *loc));
-int hid_is_collection __P((void *desc, int size, u_int32_t usage));
+ u_int32_t *flags);
+u_long hid_get_data(u_char *buf, struct hid_location *loc);
+int hid_is_collection(void *desc, int size, u_int32_t usage);
OpenPOWER on IntegriCloud