samples: bpf: refactor header include path
Currently, header inclusion in each file is inconsistent. For example, "libbpf.h" header is included as multiple ways. #include "bpf/libbpf.h" #include "libbpf.h" Due to commit b552d33c ("samples/bpf: fix include path in Makefile"), $(srctree)/tools/lib/bpf/ path had been included during build, path "bpf/" in header isn't necessary anymore. This commit removes path "bpf/" in header inclusion. Signed-off-by:Daniel T. Lee <danieltimlee@gmail.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net>
Showing
- samples/bpf/fds_example.c 1 addition, 1 deletionsamples/bpf/fds_example.c
- samples/bpf/hbm.c 2 additions, 2 deletionssamples/bpf/hbm.c
- samples/bpf/ibumad_user.c 1 addition, 1 deletionsamples/bpf/ibumad_user.c
- samples/bpf/sockex1_user.c 1 addition, 1 deletionsamples/bpf/sockex1_user.c
- samples/bpf/sockex2_user.c 1 addition, 1 deletionsamples/bpf/sockex2_user.c
- samples/bpf/xdp1_user.c 2 additions, 2 deletionssamples/bpf/xdp1_user.c
- samples/bpf/xdp_adjust_tail_user.c 2 additions, 2 deletionssamples/bpf/xdp_adjust_tail_user.c
- samples/bpf/xdp_fwd_user.c 1 addition, 1 deletionsamples/bpf/xdp_fwd_user.c
- samples/bpf/xdp_redirect_cpu_user.c 1 addition, 1 deletionsamples/bpf/xdp_redirect_cpu_user.c
- samples/bpf/xdp_redirect_map_user.c 1 addition, 1 deletionsamples/bpf/xdp_redirect_map_user.c
- samples/bpf/xdp_redirect_user.c 1 addition, 1 deletionsamples/bpf/xdp_redirect_user.c
- samples/bpf/xdp_router_ipv4_user.c 1 addition, 1 deletionsamples/bpf/xdp_router_ipv4_user.c
- samples/bpf/xdp_rxq_info_user.c 2 additions, 2 deletionssamples/bpf/xdp_rxq_info_user.c
- samples/bpf/xdp_tx_iptunnel_user.c 1 addition, 1 deletionsamples/bpf/xdp_tx_iptunnel_user.c
- samples/bpf/xdpsock_user.c 2 additions, 2 deletionssamples/bpf/xdpsock_user.c
Loading
Please register or sign in to comment