X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_cmdline%2Fcmdline_parse_etheraddr.c;h=5cb10de321988a97fb426ae4506aca2c7629bcb3;hb=f2fc83b40f06da6a6b2476005279ba52d4ce3c44;hp=2cb8dd2a12670999e65eb02bb6642a8aad8600f6;hpb=d0ac7bb577e9d2e2a02abc2b159a486884f0274a;p=dpdk.git diff --git a/lib/librte_cmdline/cmdline_parse_etheraddr.c b/lib/librte_cmdline/cmdline_parse_etheraddr.c index 2cb8dd2a12..5cb10de321 100644 --- a/lib/librte_cmdline/cmdline_parse_etheraddr.c +++ b/lib/librte_cmdline/cmdline_parse_etheraddr.c @@ -27,7 +27,7 @@ struct cmdline_token_ops cmdline_token_etheraddr_ops = { }; int -cmdline_parse_etheraddr(__attribute__((unused)) cmdline_parse_token_hdr_t *tk, +cmdline_parse_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, const char *buf, void *res, unsigned ressize) { unsigned int token_len = 0; @@ -58,7 +58,7 @@ cmdline_parse_etheraddr(__attribute__((unused)) cmdline_parse_token_hdr_t *tk, } int -cmdline_get_help_etheraddr(__attribute__((unused)) cmdline_parse_token_hdr_t *tk, +cmdline_get_help_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size) { int ret;