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

Unified · Split

include/linux/tnum.h+6−0
@@ -5,6 +5,10 @@ · 4 unmodified lines
5 * propagate the unknown bits such that the tnum result represents all the5 * 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
10struct tnum {14struct tnum {
@@ -81,3 +85,5 @@ bool tnum_in(struct tnum a, struct tnum b); · 70 unmodified lines
81int tnum_strn(char *str, size_t size, struct tnum a);85int 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 */
83int tnum_sbin(char *str, size_t size, struct tnum a);87int 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