diff options
Diffstat (limited to 'apps/examples/igmp')
-rw-r--r-- | apps/examples/igmp/igmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/igmp/igmp.c b/apps/examples/igmp/igmp.c index 61272bf3c..b7830d45a 100644 --- a/apps/examples/igmp/igmp.c +++ b/apps/examples/igmp/igmp.c @@ -83,7 +83,11 @@ * igmp_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int igmp_main(int argc, char *argv[]) +#endif { struct in_addr addr; #if defined(CONFIG_EXAMPLES_IGMP_NOMAC) |