FreeBSD Bugzilla – Attachment 235176 Details for
Bug 265136
libusbhid: usbhid.h: add missing include guards
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH]: libusbhid: usbhid.h: add missing include guards
0001-lib-libusbhid-add-missing-include-guards.patch (text/plain), 755 bytes, created by
Andreas Kempe
on 2022-07-10 20:56:22 UTC
(
hide
)
Description:
[PATCH]: libusbhid: usbhid.h: add missing include guards
Filename:
MIME Type:
Creator:
Andreas Kempe
Created:
2022-07-10 20:56:22 UTC
Size:
755 bytes
patch
obsolete
>From 17300141e091d5c5e01c2ce689dadca440d632d1 Mon Sep 17 00:00:00 2001 >From: Andreas Kempe <kempe@lysator.liu.se> >Date: Sun, 10 Jul 2022 22:51:48 +0200 >Subject: [PATCH] lib: libusbhid: usbhid.h: add missing include guards > >--- > lib/libusbhid/usbhid.h | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h >index 971884ba8ee..9cedeb98786 100644 >--- a/lib/libusbhid/usbhid.h >+++ b/lib/libusbhid/usbhid.h >@@ -31,6 +31,9 @@ > * > */ > >+#ifndef _USBHID_H_ >+#define _USBHID_H_ >+ > #include <stdint.h> > > typedef struct report_desc *report_desc_t; >@@ -113,3 +116,5 @@ int hid_set_report(int fd, enum hid_kind k, > unsigned char *data, unsigned int size); > > __END_DECLS >+ >+#endif /* !_USBHID_H_ */ >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265136
: 235176