diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-11-10 07:22:12 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-11-10 07:22:12 +0000 |
commit | 25659e88c95da597f238aea9c5e1cf8748e2e69d (patch) | |
tree | 0db95444546ededfb8a5f65e953df2b42b47ad31 | |
parent | 4a9a086eeac4305d4fd3621820cefe3566923484 (diff) |
raise() is now correctly defined in libc
-rw-r--r-- | lib/librthread/rthread_sig.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/librthread/rthread_sig.c b/lib/librthread/rthread_sig.c index df822b01467..2b69c60a3e5 100644 --- a/lib/librthread/rthread_sig.c +++ b/lib/librthread/rthread_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_sig.c,v 1.13 2012/04/13 08:25:37 guenther Exp $ */ +/* $OpenBSD: rthread_sig.c,v 1.14 2012/11/10 07:22:11 guenther Exp $ */ /* * Copyright (c) 2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -95,14 +95,6 @@ sigtimedwait(const sigset_t *set, siginfo_t *info, } #endif -#if 0 /* belongs in libc */ -int -raise(int sig) -{ - return (kill(getthrid(), sig)); -} -#endif - int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) { |