diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-12-16 11:03:06 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-01-08 22:39:24 +0100 |
commit | 619775c3cfd2bc8559abc4395bf7d85b72bd723f (patch) | |
tree | 69fd83f5d6b323357b33ff344cc1e40b8e20685f /kernel/bpf/preload | |
parent | selftests/bpf: Add tests for user- and non-CO-RE BPF_CORE_READ() variants (diff) | |
download | linux-619775c3cfd2bc8559abc4395bf7d85b72bd723f.tar.xz linux-619775c3cfd2bc8559abc4395bf7d85b72bd723f.zip |
bpf: Remove unnecessary <argp.h> include from preload/iterators
This program does not use argp (which is a glibcism). Instead include <errno.h>
directly, which was pulled in by <argp.h>.
Signed-off-by: Leah Neukirchen <leah@vuxu.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201216100306.30942-1-leah@vuxu.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/preload')
-rw-r--r-- | kernel/bpf/preload/iterators/iterators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/preload/iterators/iterators.c b/kernel/bpf/preload/iterators/iterators.c index b7ff87939172..5d872a705470 100644 --- a/kernel/bpf/preload/iterators/iterators.c +++ b/kernel/bpf/preload/iterators/iterators.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2020 Facebook */ -#include <argp.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |