diff options
Diffstat (limited to 'apps/examples/netpkt')
-rw-r--r-- | apps/examples/netpkt/netpkt_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/netpkt/netpkt_main.c b/apps/examples/netpkt/netpkt_main.c index b833a4a14..671aad080 100644 --- a/apps/examples/netpkt/netpkt_main.c +++ b/apps/examples/netpkt/netpkt_main.c @@ -129,7 +129,11 @@ static void netpkt_usage(void) * Name: netpkt_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int netpkt_main(int argc, char **argv) +#endif { int sd; int i; |