History

bpf: add include guard to tnum.h

Add a header include guard just in case.

Masahiro Yamada committed 7 years ago

Commit 69ecfda1 parent 3481e641 file · +6 −0Browse files

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

Unified · Split

include/linux/tnum.h+6−0
@@ -5,6 +5,10 @@ · 4 unmodified lines
55 * propagate the unknown bits such that the tnum result represents all the
66 * possible results for possible values of the operands.
77 */
8+
9+#ifndef _LINUX_TNUM_H
10+#define _LINUX_TNUM_H
11+
812 #include <linux/types.h>
913
1014 struct tnum {
@@ -81,3 +85,5 @@ bool tnum_in(struct tnum a, struct tnum b); · 70 unmodified lines
8185 int tnum_strn(char *str, size_t size, struct tnum a);
8286 /* Format a tnum as tristate binary expansion */
8387 int tnum_sbin(char *str, size_t size, struct tnum a);
88+
89+#endif /* _LINUX_TNUM_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