summaryrefslogtreecommitdiff
path: root/libc/stdlib/abort.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-15 20:23:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-15 20:23:33 +0000
commit5da06322c21e27d5bc60459ae2f80a80d2c8162b (patch)
treed514819fb0e47354537c701f67d04e4f336ac792 /libc/stdlib/abort.c
parentcc9da0a85c21f4c5c5e340ef5f7a86c6821476b5 (diff)
Hide more of stdio,getdents, use internal __raise
Diffstat (limited to 'libc/stdlib/abort.c')
-rw-r--r--libc/stdlib/abort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c
index 77c2cdc69..6457836e8 100644
--- a/libc/stdlib/abort.c
+++ b/libc/stdlib/abort.c
@@ -81,6 +81,7 @@ static pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
#endif
+extern int __raise (int __sig) __THROW attribute_hidden;
/* Cause an abnormal program termination with core-dump */
void abort(void)
{
@@ -111,7 +112,7 @@ void abort(void)
abort_it:
UNLOCK;
- raise(SIGABRT);
+ __raise(SIGABRT);
LOCK;
}