blob: fc134873bb6d7ad586a14922593b6e35f34251b8 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
2#include "libbpf.h"
3#include "bpf.h"
4#include "btf.h"
5
6/* do nothing, just make sure we can link successfully */
7
8int main(int argc, char *argv[])
9{
10 /* libbpf.h */
11 libbpf_set_print(NULL);
12
13 /* bpf.h */
14 bpf_prog_get_fd_by_id(0);
15
16 /* btf.h */
17 btf__new(NULL, 0);
18}