From f87c7bd4133a2b3ad9b45c32fab33d167a348c4b Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 18 Nov 2005 03:14:53 +0000 Subject: Massive merge from trunk. --- libc/stdlib/abort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/stdlib') 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; } -- cgit v1.2.3