X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_cmdline_lib.c;h=dec465da5f7368ee4f1eef1f2bdb7a396f3fcbe8;hb=f2fc83b40f06da6a6b2476005279ba52d4ce3c44;hp=a856a971329ea08373a54ac889d2e5ad0f601c27;hpb=d0ac7bb577e9d2e2a02abc2b159a486884f0274a;p=dpdk.git diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c index a856a97132..dec465da5f 100644 --- a/app/test/test_cmdline_lib.c +++ b/app/test/test_cmdline_lib.c @@ -12,6 +12,8 @@ #include #include +#include + #include #include #include @@ -23,18 +25,18 @@ /****************************************************************/ /* static functions required for some tests */ static void -valid_buffer(__attribute__((unused))struct rdline *rdl, - __attribute__((unused))const char *buf, - __attribute__((unused)) unsigned int size) +valid_buffer(__rte_unused struct rdline *rdl, + __rte_unused const char *buf, + __rte_unused unsigned int size) { } static int -complete_buffer(__attribute__((unused)) struct rdline *rdl, - __attribute__((unused)) const char *buf, - __attribute__((unused)) char *dstbuf, - __attribute__((unused)) unsigned int dstsize, - __attribute__((unused)) int *state) +complete_buffer(__rte_unused struct rdline *rdl, + __rte_unused const char *buf, + __rte_unused char *dstbuf, + __rte_unused unsigned int dstsize, + __rte_unused int *state) { return 0; }