]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
bpf: add include guard to tnum.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 19 Aug 2019 16:10:35 +0000 (01:10 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 20 Aug 2019 15:05:05 +0000 (17:05 +0200)
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/tnum.h

index c7dc2b5902c057ee0475f786f576fd921b3a8014..c17af77f3fae7f98814b521b127b2e10945d1e5e 100644 (file)
@@ -5,6 +5,10 @@
  * propagate the unknown bits such that the tnum result represents all the
  * possible results for possible values of the operands.
  */
+
+#ifndef _LINUX_TNUM_H
+#define _LINUX_TNUM_H
+
 #include <linux/types.h>
 
 struct tnum {
@@ -81,3 +85,5 @@ bool tnum_in(struct tnum a, struct tnum b);
 int tnum_strn(char *str, size_t size, struct tnum a);
 /* Format a tnum as tristate binary expansion */
 int tnum_sbin(char *str, size_t size, struct tnum a);
+
+#endif /* _LINUX_TNUM_H */