aboutsummaryrefslogtreecommitdiff
path: root/lib/libusbhid/usage.c
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-09 01:52:49 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-09 01:52:49 +0000
commitcf0e07e504093d39ee5a0782b88ad372a9893643 (patch)
tree4973be599e3f1175e30998a134f2b847577c193f /lib/libusbhid/usage.c
parent06283c3ba9bde2a30fdcdf7ff57355ae50d6913b (diff)
downloadsrc-cf0e07e504093d39ee5a0782b88ad372a9893643.tar.gz
src-cf0e07e504093d39ee5a0782b88ad372a9893643.zip
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.
Notes
Notes: svn path=/head/; revision=113273
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 8e6bfcaa10de..280ef69aae8c 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"