History

define __poll_t, annotate constants

Al Viro committed 9 years ago

Commit 8ced3901 parent d759be88 files · +32 −26Browse files

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

Unified · Split

include/uapi/linux/types.h+6−0
@@ -49,5 +49,11 @@ typedef __u32 __bitwise __wsum; · 48 unmodified lines
4949 #define __aligned_be64 __be64 __attribute__((aligned(8)))
5050 #define __aligned_le64 __le64 __attribute__((aligned(8)))
5151
52+#ifdef __CHECK_POLL
53+typedef unsigned __bitwise __poll_t;
54+#else
55+typedef unsigned __poll_t;
56+#endif
57+
5258 #endif /* __ASSEMBLY__ */
5359 #endif /* _UAPI_LINUX_TYPES_H */