summaryrefslogtreecommitdiff
path: root/proto_ip_esp.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-12-15 23:09:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-12-17 10:41:17 +0100
commit121119215276e645b358d7ce0593251f215920df (patch)
tree7d6c5a4d724d69d0cad54201f2d6b6f20d462339 /proto_ip_esp.c
parent6a310b07a1c5f73998fd0ff265d5701de04ab4f1 (diff)
bpfc: Add option to pass macro/define for C preprocessor
Add -D,--define option to pass macro/define for C preprocessor (e.g. to use #ifdef's within bpf file). Option allows to pass multiple -D,--define options. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Diffstat (limited to 'proto_ip_esp.c')
0 files changed, 0 insertions, 0 deletions
640159d4ae8a2a60&id2=a5ef01aaac245d37edf113d65b0c146e96d841d1'>diff)
bpf: Make unnecessarily global functions static
Make the functions __local_list_pop_free(), __local_list_pop_pending(), bpf_common_lru_populate() and bpf_percpu_lru_populate() static as they are not used outide of bpf_lru_list.c This fixes the following GCC warnings when building with 'W=1': kernel/bpf/bpf_lru_list.c:363:22: warning: no previous prototype for ‘__local_list_pop_free’ [-Wmissing-prototypes] kernel/bpf/bpf_lru_list.c:376:22: warning: no previous prototype for ‘__local_list_pop_pending’ [-Wmissing-prototypes] kernel/bpf/bpf_lru_list.c:560:6: warning: no previous prototype for ‘bpf_common_lru_populate’ [-Wmissing-prototypes] kernel/bpf/bpf_lru_list.c:577:6: warning: no previous prototype for ‘bpf_percpu_lru_populate’ [-Wmissing-prototypes] Cc: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh/kernel/cpu')