Module Name: src
Committed By: charlotte
Date: Sun May 22 05:33:46 UTC 2022
Modified Files:
src/lib/libusbhid: usbhid.3
Log Message:
usbhid.3: hid_parse_usage_in_page() actually returns int
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libusbhid/usbhid.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libusbhid/usbhid.3
diff -u src/lib/libusbhid/usbhid.3:1.16 src/lib/libusbhid/usbhid.3:1.17
--- src/lib/libusbhid/usbhid.3:1.16 Sun Oct 22 16:49:13 2017
+++ src/lib/libusbhid/usbhid.3 Sun May 22 05:33:46 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: usbhid.3,v 1.16 2017/10/22 16:49:13 abhinav Exp $
+.\" $NetBSD: usbhid.3,v 1.17 2022/05/22 05:33:46 charlotte Exp $
.\"
.\" Copyright (c) 1999, 2001 Lennart Augustsson <[email protected]>
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 12, 2010
+.Dd May 21, 2022
.Dt USBHID 3
.Os
.Sh NAME
@@ -71,7 +71,7 @@
.Fn hid_usage_in_page "u_int u"
.Ft int
.Fn hid_parse_usage_page "const char *"
-.Ft char *
+.Ft int
.Fn hid_parse_usage_in_page "const char *"
.Ft void
.Fn hid_init "const char *file"