X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Ftimer.rst;h=98d762d2388c551512bed7281a016a48b0ededf2;hb=5920d930837228649278ebe523503c94ac31d7f5;hp=d87a7abc1ed9dbdf612b1973115614b235e6f1ca;hpb=5630257fcc30397e7217139ec55da4f301f59fb7;p=dpdk.git diff --git a/doc/guides/sample_app_ug/timer.rst b/doc/guides/sample_app_ug/timer.rst index d87a7abc1e..98d762d238 100644 --- a/doc/guides/sample_app_ug/timer.rst +++ b/doc/guides/sample_app_ug/timer.rst @@ -17,7 +17,7 @@ The application is located in the ``timer`` sub-directory. Running the Application ----------------------- -To run the example in linuxapp environment: +To run the example in linux environment: .. code-block:: console @@ -137,7 +137,7 @@ In this case, the timer is stopped using the rte_timer_stop() function. /* timer0 callback */ static void - timer0_cb( attribute ((unused)) struct rte_timer *tim, __attribute ((unused)) void *arg) + timer0_cb(__rte_unused struct rte_timer *tim, __rte_unused void *arg) { static unsigned counter = 0; @@ -159,7 +159,7 @@ rte_timer_reset() function: /* timer1 callback */ static void - timer1_cb( attribute ((unused)) struct rte_timer *tim, _attribute ((unused)) void *arg) + timer1_cb(__rte_unused struct rte_timer *tim, __rte_unused void *arg) { unsigned lcore_id = rte_lcore_id(); uint64_t hz;