diff options
Diffstat (limited to 'apps/examples/ostest/sighand.c')
-rw-r--r-- | apps/examples/ostest/sighand.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/ostest/sighand.c b/apps/examples/ostest/sighand.c index ea9775e01..82c87b120 100644 --- a/apps/examples/ostest/sighand.c +++ b/apps/examples/ostest/sighand.c @@ -137,7 +137,11 @@ static void wakeup_action(int signo, siginfo_t *info, void *ucontext) } } +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else static int waiter_main(int argc, char *argv[]) +#endif { sigset_t sigset; struct sigaction act; |