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

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ppdev.h+4−1
@@ -15,6 +15,9 @@ · 14 unmodified lines
15 * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/200115 * Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001
16 */16 */
17 17
18#ifndef _UAPI_LINUX_PPDEV_H
19#define _UAPI_LINUX_PPDEV_H
20
18#define PP_IOCTL 'p'21#define PP_IOCTL 'p'
19 22
20/* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */23/* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */
@@ -97,4 +100,4 @@ struct ppdev_frob_struct { · 76 unmodified lines
97/* only masks user-visible flags */100/* only masks user-visible flags */
98#define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)101#define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)
99 102
100 103#endif /* _UAPI_LINUX_PPDEV_H */