Fixed prototypes. About half of them were wrong (mainly due to const
poisoning having not reached here).
This commit is contained in:
parent
ea81d4327f
commit
1a7d8d0695
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72066
@ -63,21 +63,21 @@
|
||||
.Ft int
|
||||
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
|
||||
.Ft int
|
||||
.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft char *
|
||||
.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_page "int i"
|
||||
.Ft char *
|
||||
.Fn hid_usage_in_page "u_int u"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_in_page "unsigned int u"
|
||||
.Ft int
|
||||
.Fn hid_parse_usage_page "const char *"
|
||||
.Ft char *
|
||||
.Fn hid_parse_usage_in_page "const char *"
|
||||
.Ft void
|
||||
.Fn hid_init "char *file"
|
||||
.Fn hid_parse_usage_page "const char *name"
|
||||
.Ft int
|
||||
.Fn hid_get_data "void *data" "hid_item_t *h"
|
||||
.Fn hid_parse_usage_in_page "const char *name"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
|
||||
.Fn hid_init "const char *file"
|
||||
.Ft int
|
||||
.Fn hid_get_data "const void *data" "const hid_item_t *h"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
|
@ -63,21 +63,21 @@
|
||||
.Ft int
|
||||
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
|
||||
.Ft int
|
||||
.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft char *
|
||||
.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_page "int i"
|
||||
.Ft char *
|
||||
.Fn hid_usage_in_page "u_int u"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_in_page "unsigned int u"
|
||||
.Ft int
|
||||
.Fn hid_parse_usage_page "const char *"
|
||||
.Ft char *
|
||||
.Fn hid_parse_usage_in_page "const char *"
|
||||
.Ft void
|
||||
.Fn hid_init "char *file"
|
||||
.Fn hid_parse_usage_page "const char *name"
|
||||
.Ft int
|
||||
.Fn hid_get_data "void *data" "hid_item_t *h"
|
||||
.Fn hid_parse_usage_in_page "const char *name"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
|
||||
.Fn hid_init "const char *file"
|
||||
.Ft int
|
||||
.Fn hid_get_data "const void *data" "const hid_item_t *h"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
|
@ -63,21 +63,21 @@
|
||||
.Ft int
|
||||
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
|
||||
.Ft int
|
||||
.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft char *
|
||||
.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_page "int i"
|
||||
.Ft char *
|
||||
.Fn hid_usage_in_page "u_int u"
|
||||
.Ft const char *
|
||||
.Fn hid_usage_in_page "unsigned int u"
|
||||
.Ft int
|
||||
.Fn hid_parse_usage_page "const char *"
|
||||
.Ft char *
|
||||
.Fn hid_parse_usage_in_page "const char *"
|
||||
.Ft void
|
||||
.Fn hid_init "char *file"
|
||||
.Fn hid_parse_usage_page "const char *name"
|
||||
.Ft int
|
||||
.Fn hid_get_data "void *data" "hid_item_t *h"
|
||||
.Fn hid_parse_usage_in_page "const char *name"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
|
||||
.Fn hid_init "const char *file"
|
||||
.Ft int
|
||||
.Fn hid_get_data "const void *data" "const hid_item_t *h"
|
||||
.Ft void
|
||||
.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user