X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fhelloworld%2Fmain.c;h=8b7a2de0eedf3c030ca5e40291268fdbd6b81e14;hb=fa8ecf6634982b3dc7ba0d73453153a688ba72c7;hp=6c44212d5aa06c34fdf28c4a518e53c170e47422;hpb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;p=dpdk.git diff --git a/examples/helloworld/main.c b/examples/helloworld/main.c index 6c44212d5a..8b7a2de0ee 100644 --- a/examples/helloworld/main.c +++ b/examples/helloworld/main.c @@ -1,13 +1,13 @@ /*- * BSD LICENSE - * + * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright @@ -17,7 +17,7 @@ * * Neither the name of Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -40,14 +40,11 @@ #include #include #include -#include #include #include #include #include -#include "main.h" - static int lcore_hello(__attribute__((unused)) void *arg) { @@ -58,7 +55,7 @@ lcore_hello(__attribute__((unused)) void *arg) } int -MAIN(int argc, char **argv) +main(int argc, char **argv) { int ret; unsigned lcore_id;