summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-libbpf-bpf_prog_load.c
blob: 47f516d63ebc5f87ef9a5fd9569b8db656d66518 (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include <bpf/bpf.h>

int main(void)
{
	return bpf_prog_load(0 /* prog_type */, NULL /* prog_name */,
			     NULL /* license */, NULL /* insns */,
			     0 /* insn_cnt */, NULL /* opts */);
}