History

uapi: stddef.h: Fix header guard location

The #endif for the header guard wasn't at the end of the header. This was harmless since the define that escaped was already testing for its own redefinition. Regardless, move the #endif to the correct place.

Alexey Dobriyan committed 3 years ago

Commit 531108e1 parent 5f536ac1 file · +2 −1Browse files

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

Unified · Split

include/uapi/linux/stddef.h+2−1
@@ -44,8 +44,9 @@ · 43 unmodified lines
4444 struct { } __empty_ ## NAME; \
4545 TYPE NAME[]; \
4646 }
47−#endif
4847
4948 #ifndef __counted_by
5049 #define __counted_by(m)
5150 #endif
51+
52+#endif /* _UAPI_LINUX_STDDEF_H */