Skip to content
Snippets Groups Projects
Commit 7144720e authored by deuce's avatar deuce
Browse files

Fix bug in last commit

parent 73d6ef74
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,7 @@ static void ODKrnlChatMode(void); ...@@ -114,6 +114,7 @@ static void ODKrnlChatMode(void);
#ifdef ODPLAT_NIX #ifdef ODPLAT_NIX
static void sig_run_kernel(int sig); static void sig_run_kernel(int sig);
static void sig_get_char(int sig); static void sig_get_char(int sig);
static void sig_no_carrier(int sig);
#endif #endif
/* Functions specific to the multithreaded implementation of the kernel. */ /* Functions specific to the multithreaded implementation of the kernel. */
...@@ -218,7 +219,7 @@ tODResult ODKrnlInitialize(void) ...@@ -218,7 +219,7 @@ tODResult ODKrnlInitialize(void)
/* Make sure SIGHUP, SIGALRM, and SIGIO are unblocked */ /* Make sure SIGHUP, SIGALRM, and SIGIO are unblocked */
sigemptyset(&block); sigemptyset(&block);
sigaddset(&block,SIGHUP); sigaddset(&block,SIGHUP);
sigaddset(&block,SIGALRN); sigaddset(&block,SIGALRM);
sigaddset(&block,SIGIO); sigaddset(&block,SIGIO);
sigprocmask(SIG_UNBLOCK,&block,NULL); sigprocmask(SIG_UNBLOCK,&block,NULL);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment