diff --git a/bpf/progs/netd.h b/bpf/progs/netd.h index 7010d558a0..79c6e371ec 100644 --- a/bpf/progs/netd.h +++ b/bpf/progs/netd.h @@ -95,9 +95,8 @@ typedef struct { } SkStorageValue; STRUCT_SIZE(SkStorageValue, 8); -// 'static' - otherwise these constants end up in .rodata in the resulting .o post compilation -static const int STATS_MAP_SIZE = 5000; -static const int CONFIGURATION_MAP_SIZE = 2; +#define STATS_MAP_SIZE 5000 +#define CONFIGURATION_MAP_SIZE 2 #ifdef __cplusplus