mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-11 23:45:13 +00:00
Remove some ugly kernel mode hooks
This commit is contained in:
parent
cad37f8add
commit
788e44bd80
2 changed files with 0 additions and 12 deletions
|
|
@ -149,11 +149,7 @@ 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;
|
||||
|
|
|
|||
|
|
@ -107,11 +107,7 @@ static void waiter_action(int signo)
|
|||
g_nest_level = nest_level;
|
||||
}
|
||||
|
||||
#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;
|
||||
|
|
@ -167,11 +163,7 @@ static int waiter_main(int argc, char *argv[])
|
|||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
int main(int argc, FAR char *argv[])
|
||||
#else
|
||||
static int interfere_main(int argc, char *argv[])
|
||||
#endif
|
||||
{
|
||||
/* Now just loop staying in the way as much as possible */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue