* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+#define _GNU_SOURCE
#include <features.h>
#include <stdio.h>
#include <string.h>
-extern char *__strsignal (int __sig) __THROW attribute_hidden;
+libc_hidden_proto(fprintf)
+libc_hidden_proto(strsignal)
/* TODO: make this threadsafe with a reentrant version of strsignal? */
message = (sep += 2); /* or passed an empty string. */
}
- fprintf(stderr, "%s%s%s\n", message, sep, __strsignal(signum));
+ fprintf(stderr, "%s%s%s\n", message, sep, strsignal(signum));
}