]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cmdline/cmdline_parse_etheraddr.c
replace unused attributes
[dpdk.git] / lib / librte_cmdline / cmdline_parse_etheraddr.c
index 2cb8dd2a12670999e65eb02bb6642a8aad8600f6..5cb10de321988a97fb426ae4506aca2c7629bcb3 100644 (file)
@@ -27,7 +27,7 @@ struct cmdline_token_ops cmdline_token_etheraddr_ops = {
 };
 
 int
 };
 
 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;
        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
 }
 
 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;
                               char *dstbuf, unsigned int size)
 {
        int ret;