Fixed prototypes. About half of them were wrong (mainly due to const

poisoning having not reached here).
This commit is contained in:
bde 2001-02-06 01:02:59 +00:00
parent 41bcb6a4a0
commit 55aff82fbc
3 changed files with 33 additions and 33 deletions

View File

@ -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

View File

@ -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

View File

@ -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