mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 11:22:43 +00:00
Added used include of <sys/cdefs.h>.
Declare all the interfaces documented in usb.3 (2 were missing).
This commit is contained in:
parent
fc80017420
commit
ea81d4327f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72065
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user