summaryrefslogtreecommitdiff
path: root/libiberty/xatexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/xatexit.c')
-rw-r--r--libiberty/xatexit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/xatexit.c b/libiberty/xatexit.c
index 6fdad9ed806..8a985cab4bc 100644
--- a/libiberty/xatexit.c
+++ b/libiberty/xatexit.c
@@ -37,7 +37,7 @@ failure. If you use @code{xatexit} to register functions, you must use
#include <unixlib.h>
#else
/* For systems with larger pointers than ints, this must be declared. */
-PTR malloc (size_t);
+void *malloc (size_t);
#endif
static void xatexit_cleanup (void);