diff options
author | ru <ru@FreeBSD.org> | 2005-11-24 11:26:36 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-24 11:26:36 +0000 |
commit | af47fb2f88dcd0a81754bbcdd0512dcb1d2caf1c (patch) | |
tree | 5153a49443b0c6582e085fdef249f46483a55a50 | |
parent | 5633435ae3241e36b1f2836b880ba0210c30a3e8 (diff) | |
download | FreeBSD-src-af47fb2f88dcd0a81754bbcdd0512dcb1d2caf1c.zip FreeBSD-src-af47fb2f88dcd0a81754bbcdd0512dcb1d2caf1c.tar.gz |
Fix prototypes.
-rw-r--r-- | lib/libusbhid/usbhid.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libusbhid/usbhid.3 b/lib/libusbhid/usbhid.3 index 241c4dc8..a11709b 100644 --- a/lib/libusbhid/usbhid.3 +++ b/lib/libusbhid/usbhid.3 @@ -65,20 +65,20 @@ .Fn hid_report_size "report_desc_t d" "hid_kind_t k" "int id" .Ft int .Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h" "int id" -.Ft "char *" +.Ft "const char *" .Fn hid_usage_page "int i" -.Ft "char *" +.Ft "const char *" .Fn hid_usage_in_page "u_int u" .Ft int .Fn hid_parse_usage_page "const char *" -.Ft "char *" +.Ft int .Fn hid_parse_usage_in_page "const char *" .Ft void -.Fn hid_init "char *file" +.Fn hid_init "const char *file" .Ft int -.Fn hid_get_data "void *data" "hid_item_t *h" +.Fn hid_get_data "const void *data" "const hid_item_t *h" .Ft void -.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data" +.Fn hid_set_data "void *buf" "const hid_item_t *h" "int data" .Sh DESCRIPTION The .Nm |