git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace unused attributes
[dpdk.git]
/
lib
/
librte_cmdline
/
cmdline_parse_etheraddr.c
diff --git
a/lib/librte_cmdline/cmdline_parse_etheraddr.c
b/lib/librte_cmdline/cmdline_parse_etheraddr.c
index
2cb8dd2
..
5cb10de
100644
(file)
--- 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
};
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;