bpf: Remove unnecessary <argp.h> include from preload/iterators
PATCH 1/1 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 <[email protected]>
--- kernel/bpf/preload/iterators/iterators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/preload/iterators/iterators.c +1 -1
@@ -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>
Signature · 1 line
2.29.2
Acked-by Song Liu <[email protected]>
This patch was applied to bpf/bpf-next.git (refs/heads/master):
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
Quoted 7 lines · On Wed, 16 Dec 2020 11:03:06 +0100 you wrote:
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 <[email protected]>--- kernel/bpf/preload/iterators/iterators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- bpf: Remove unnecessary <argp.h> include from preload/iterators
https://git.kernel.org/bpf/bpf-next/c/1bcf3a740aa5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html