aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xatexit.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-13 16:43:15 +0930
committerAlan Modra <amodra@gmail.com>2022-05-13 16:43:15 +0930
commit31b15688c414c7caf957be63d2914faafa1b9dda (patch)
treee9d162e81034cf547a59a312c82a43df5b9f0a29 /libiberty/xatexit.c
parent845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993 (diff)
downloadgdb-31b15688c414c7caf957be63d2914faafa1b9dda.zip
gdb-31b15688c414c7caf957be63d2914faafa1b9dda.tar.gz
gdb-31b15688c414c7caf957be63d2914faafa1b9dda.tar.bz2
Import libiberty from gcc
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 6fdad9e..8a985ca 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);