History

linux/coff.h: add include guard

Add a header include guard just in case. My motivation is to allow Kbuild to detect missing include guard: https://patchwork.kernel.org/patch/11063011/ Before I enable this checker I want to fix as many headers as possible.

Masahiro Yamada committed 7 years ago

Commit 541be051 parent e55d9d91 file · +5 −0Browse files

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

Unified · Split

include/uapi/linux/coff.h+5−0
@@ -11,6 +11,9 @@ · 10 unmodified lines
11 more information about COFF, then O'Reilly has a very excellent book.11 more information about COFF, then O'Reilly has a very excellent book.
12*/12*/
13 13
14#ifndef _UAPI_LINUX_COFF_H
15#define _UAPI_LINUX_COFF_H
16
14#define E_SYMNMLEN 8 /* Number of characters in a symbol name */17#define E_SYMNMLEN 8 /* Number of characters in a symbol name */
15#define E_FILNMLEN 14 /* Number of characters in a file name */18#define E_FILNMLEN 14 /* Number of characters in a file name */
16#define E_DIMNUM 4 /* Number of array dimensions in auxiliary entry */19#define E_DIMNUM 4 /* Number of array dimensions in auxiliary entry */
@@ -350,3 +353,5 @@ struct COFF_reloc { · 333 unmodified lines
350 353
351/* For new sections we haven't heard of before */354/* For new sections we haven't heard of before */
352#define COFF_DEF_SECTION_ALIGNMENT 4355#define COFF_DEF_SECTION_ALIGNMENT 4
356
357#endif /* _UAPI_LINUX_COFF_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t