History

ppdev: add header include guard

Add a header include guard just in case.

Masahiro Yamada committed 7 years ago

Commit 509ce4c1 parent ab81f3f1 file · +4 −1Browse files

Unified · Split

include/uapi/linux/ppdev.h+4−1
@@ -15,6 +15,9 @@ · 14 unmodified lines
1515 * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001
1616 */
1717
18+#ifndef _UAPI_LINUX_PPDEV_H
19+#define _UAPI_LINUX_PPDEV_H
20+
1821 #define PP_IOCTL 'p'
1922
2023 /* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */
@@ -97,4 +100,4 @@ struct ppdev_frob_struct { · 76 unmodified lines
97100 /* only masks user-visible flags */
98101 #define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)
99102
100−
103+#endif /* _UAPI_LINUX_PPDEV_H */