bpf: add include guard to tnum.h
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>alistair/sunxi64-5.4-dsi
parent
3481e64bbe
commit
69ecfdaa53
|
@ -5,6 +5,10 @@
|
||||||
* propagate the unknown bits such that the tnum result represents all the
|
* propagate the unknown bits such that the tnum result represents all the
|
||||||
* possible results for possible values of the operands.
|
* possible results for possible values of the operands.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _LINUX_TNUM_H
|
||||||
|
#define _LINUX_TNUM_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
struct tnum {
|
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);
|
int tnum_strn(char *str, size_t size, struct tnum a);
|
||||||
/* Format a tnum as tristate binary expansion */
|
/* Format a tnum as tristate binary expansion */
|
||||||
int tnum_sbin(char *str, size_t size, struct tnum a);
|
int tnum_sbin(char *str, size_t size, struct tnum a);
|
||||||
|
|
||||||
|
#endif /* _LINUX_TNUM_H */
|
||||||
|
|
Loading…
Reference in New Issue