diff options
Diffstat (limited to 'apps/examples/hidkbd')
-rw-r--r-- | apps/examples/hidkbd/hidkbd_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/hidkbd/hidkbd_main.c b/apps/examples/hidkbd/hidkbd_main.c index f1885744f..da4eed453 100644 --- a/apps/examples/hidkbd/hidkbd_main.c +++ b/apps/examples/hidkbd/hidkbd_main.c @@ -276,7 +276,11 @@ static int hidkbd_waiter(int argc, char *argv[]) * Name: hidkbd_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int hidkbd_main(int argc, char *argv[]) +#endif { char buffer[256]; pid_t pid; |