Add a header include guard just in case.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -5,6 +5,10 @@ · 4 unmodified lines | |||
| 5 | * propagate the unknown bits such that the tnum result represents all the | 5 | * propagate the unknown bits such that the tnum result represents all the |
| 6 | * possible results for possible values of the operands. | 6 | * possible results for possible values of the operands. |
| 7 | */ | 7 | */ |
| 8 | |||
| 9 | #ifndef _LINUX_TNUM_H | ||
| 10 | #define _LINUX_TNUM_H | ||
| 11 | |||
| 8 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 9 | 13 | ||
| 10 | struct tnum { | 14 | struct tnum { |
| @@ -81,3 +85,5 @@ bool tnum_in(struct tnum a, struct tnum b); · 70 unmodified lines | |||
| 81 | int tnum_strn(char *str, size_t size, struct tnum a); | 85 | int tnum_strn(char *str, size_t size, struct tnum a); |
| 82 | /* Format a tnum as tristate binary expansion */ | 86 | /* Format a tnum as tristate binary expansion */ |
| 83 | int tnum_sbin(char *str, size_t size, struct tnum a); | 87 | int tnum_sbin(char *str, size_t size, struct tnum a); |
| 88 | |||
| 89 | #endif /* _LINUX_TNUM_H */ | ||