On Thu, Feb 07, 2019 at 11:29:24AM -0800, Andrii Nakryiko wrote:
> Few files in libbpf are using bzero() function (defined in strings.h header), 
> but
> don't include corresponding header. When libbpf is added as a dependency to 
> pahole,
> this undeterministically causes warnings on some machines:
> 
> bpf.c:225:2: warning: implicit declaration of function ‘bzero’ 
> [-Wimplicit-function-declaration]
>   bzero(&attr, sizeof(attr));
>     ^~~~~
> 
> Signed-off-by: Andrii Nakryiko <andr...@fb.com>
> Reported-by: Arnaldo Carvalho de Melo <a...@redhat.com>

Applied, Thanks

Reply via email to