commit | d7fe74f9404a9736e9d4f754c30e43640a822c17 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Mon Jun 17 12:26:50 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Jun 18 00:08:54 2019 +0200 |
tree | 6d2addde09dcb0095db479aa801575f173e886b8 | |
parent | 7f94208c8f9a0a6d2ff0e0c0858c00ad8e5c8617 [diff] |
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>