X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Fhello_world.rst;h=46f997a7dce3e1def7499446d747c40d21091b7e;hb=01863b9d2354;hp=a2051f7998f69d34e1cfbe371b467a3733130419;hpb=5630257fcc30397e7217139ec55da4f301f59fb7;p=dpdk.git diff --git a/doc/guides/sample_app_ug/hello_world.rst b/doc/guides/sample_app_ug/hello_world.rst index a2051f7998..46f997a7dc 100644 --- a/doc/guides/sample_app_ug/hello_world.rst +++ b/doc/guides/sample_app_ug/hello_world.rst @@ -17,7 +17,7 @@ The application is located in the ``helloworld`` sub-directory. Running the Application ----------------------- -To run the example in a linuxapp environment: +To run the example in a linux environment: .. code-block:: console @@ -48,7 +48,7 @@ This is done in the main() function using the following code: if (ret < 0) rte_panic("Cannot init EAL\n"); -This call finishes the initialization process that was started before main() is called (in case of a Linuxapp environment). +This call finishes the initialization process that was started before main() is called (in case of a Linux environment). The argc and argv arguments are provided to the rte_eal_init() function. The value returned is the number of parsed arguments. @@ -62,7 +62,7 @@ The following is the definition of the function: .. code-block:: c static int - lcore_hello( attribute ((unused)) void *arg) + lcore_hello(__rte_unused void *arg) { unsigned lcore_id;