summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-06-17 21:26:50 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-18 00:08:54 +0200
commitd7fe74f9404a9736e9d4f754c30e43640a822c17 (patch)
tree6d2addde09dcb0095db479aa801575f173e886b8 /tools/lib/bpf/libbpf.c
parentbpf: Fix build error without CONFIG_INET (diff)
downloadlinux-d7fe74f9404a9736e9d4f754c30e43640a822c17.tar.xz
linux-d7fe74f9404a9736e9d4f754c30e43640a822c17.zip
libbpf: add common min/max macro to libbpf_internal.h
Multiple files in libbpf redefine their own definitions for min/max. Let's define them in libbpf_internal.h and use those everywhere. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions