diff options
Diffstat (limited to 'apps/examples/dhcpd')
-rw-r--r-- | apps/examples/dhcpd/target.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c index 1a1359c8d..190a08240 100644 --- a/apps/examples/dhcpd/target.c +++ b/apps/examples/dhcpd/target.c @@ -89,7 +89,11 @@ * Name: dhcpd_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int dhcpd_main(int argc, char *argv[]) +#endif { struct in_addr addr; #if defined(CONFIG_EXAMPLES_DHCPD_NOMAC) |