summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/signal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index 5682b868b..8ca6b7b8f 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -76,11 +76,6 @@ sigprocmask (int sig, const sigset_t *set, sigset_t *oldset)
return -1;
}
- /* gcc can call sigprocmask when a builtin contructor is activated.
- This can happen prior to the setup of myself */
- if (!user_data)
- return 0;
-
if (oldset)
*oldset = myself->getsigmask ();
if (set)
@@ -109,21 +104,6 @@ sigprocmask (int sig, const sigset_t *set, sigset_t *oldset)
return 0;
}
-#if 0
-/* This is called _raise because the real raise is in newlib. */
-int
-_raise (int sig)
-{
- if (!user_data)
- {
- set_errno (ESRCH);
- return -1;
- }
-
- return _kill (myself->pid, sig);
-}
-#endif
-
static int
kill_worker (pid_t pid, int sig)
{