summaryrefslogtreecommitdiff
path: root/tools/perf/examples/bpf/empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/examples/bpf/empty.c')
-rw-r--r--tools/perf/examples/bpf/empty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/examples/bpf/empty.c b/tools/perf/examples/bpf/empty.c
index 86f97763355d..3776d26db9e7 100644
--- a/tools/perf/examples/bpf/empty.c
+++ b/tools/perf/examples/bpf/empty.c
@@ -1,4 +1,3 @@
#include <bpf.h>
-char _license[] SEC("license") = "GPL";
-int _version SEC("version") = LINUX_VERSION_CODE;
+license(GPL);