summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid/usage.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-09 01:52:49 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-09 01:52:49 +0000
commit339cdd9fae72c60095061f96c9d8ad19e8267275 (patch)
tree4973be599e3f1175e30998a134f2b847577c193f /lib/libusbhid/usage.c
parent641a7abeaeff651137abc582c6199146cfbd0aa9 (diff)
downloadFreeBSD-src-339cdd9fae72c60095061f96c9d8ad19e8267275.zip
FreeBSD-src-339cdd9fae72c60095061f96c9d8ad19e8267275.tar.gz
Sync with NetBSD.
- Bump shared library version on libusbhid. - Retire libusbhid.h; it is called usbhid.h now. - hid_start_parse() takes a third argument. - hid_locate() takes a fifth argument. - hid_report_size() order of arguments changes. - Other changes, including formatting and whitespace. Bump __FreeBSD_version. This change will break all third party applications that rely on previous FreeBSD specific behavior.
Diffstat (limited to 'lib/libusbhid/usage.c')
-rw-r--r--lib/libusbhid/usage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libusbhid/usage.c b/lib/libusbhid/usage.c
index 8e6bfca..280ef69 100644
--- a/lib/libusbhid/usage.c
+++ b/lib/libusbhid/usage.c
@@ -29,13 +29,14 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "libusbhid.h"
+#include "usbhid.h"
#define _PATH_HIDTABLE "/usr/share/misc/usb_hid_usages"
OpenPOWER on IntegriCloud