xref: /linux/tools/testing/selftests/bpf/progs/test_subskeleton_lib2.c (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) Meta Platforms, Inc. and affiliates. */
3 
4 #include <linux/bpf.h>
5 #include <bpf/bpf_helpers.h>
6 
7 int var6 = 6;
8 
9 struct {
10 	__uint(type, BPF_MAP_TYPE_HASH);
11 	__type(key, __u32);
12 	__type(value, __u32);
13 	__uint(max_entries, 16);
14 } map2 SEC(".maps");
15 
16 char LICENSE[] SEC("license") = "GPL";
17