diff --git a/src/system/libroot/posix/signal/sigignore.cpp b/src/system/libroot/posix/signal/sigignore.cpp index 40313868fb..b925967b48 100644 --- a/src/system/libroot/posix/signal/sigignore.cpp +++ b/src/system/libroot/posix/signal/sigignore.cpp @@ -4,23 +4,12 @@ */ -#include #include -#include - int sigignore(int signal) { - // check for invalid signals or for signals - // that can not be ignored (SIGKILL, SIGSTOP) - if (signal <= 0 || signal >= NSIG || signal == SIGKILL - || signal == SIGSTOP) { - errno = EINVAL; - return -1; - } - struct sigaction ignoreSignalAction; // create an action to ignore the signal