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
44 struct { } __empty_ ## NAME; \44 struct { } __empty_ ## NAME; \
45 TYPE NAME[]; \45 TYPE NAME[]; \
46 }46 }
47#endif
48 47
49#ifndef __counted_by48#ifndef __counted_by
50#define __counted_by(m)49#define __counted_by(m)
51#endif50#endif
51
52#endif /* _UAPI_LINUX_STDDEF_H */