diff options
Diffstat (limited to 'apps/examples/relays')
-rw-r--r-- | apps/examples/relays/relays_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/relays/relays_main.c b/apps/examples/relays/relays_main.c index 941ac2302..74397b942 100644 --- a/apps/examples/relays/relays_main.c +++ b/apps/examples/relays/relays_main.c @@ -85,7 +85,11 @@ * Name: relays_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int relays_main(int argc, char *argv[]) +#endif { char *stat = NULL; char *no = NULL; |