X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-pmd%2Fbpf_cmd.c;h=0f984ccf4ac91c055328f7a97cdb1ef33153266c;hb=fbc8c7003b93a7555887a4195678aca9ee69f4ae;hp=830bfc13a5208bbec84027471c5e8b3ee0076276;hpb=60702e8c7cbbadd4d5e6ffe4d7f470db339b0a04;p=dpdk.git diff --git a/app/test-pmd/bpf_cmd.c b/app/test-pmd/bpf_cmd.c index 830bfc13a5..0f984ccf4a 100644 --- a/app/test-pmd/bpf_cmd.c +++ b/app/test-pmd/bpf_cmd.c @@ -87,8 +87,8 @@ bpf_parse_flags(const char *str, struct rte_bpf_arg *arg, uint32_t *flags) } static void cmd_operate_bpf_ld_parsed(void *parsed_result, - __attribute__((unused)) struct cmdline *cl, - __attribute__((unused)) void *data) + __rte_unused struct cmdline *cl, + __rte_unused void *data) { int32_t rc; uint32_t flags; @@ -158,8 +158,8 @@ struct cmd_bpf_unld_result { }; static void cmd_operate_bpf_unld_parsed(void *parsed_result, - __attribute__((unused)) struct cmdline *cl, - __attribute__((unused)) void *data) + __rte_unused struct cmdline *cl, + __rte_unused void *data) { struct cmd_bpf_unld_result *res;