summaryrefslogtreecommitdiff
path: root/libiberty/spaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/spaces.c')
-rw-r--r--libiberty/spaces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/spaces.c b/libiberty/spaces.c
index 50d15882ee6..2b6971c4b93 100644
--- a/libiberty/spaces.c
+++ b/libiberty/spaces.c
@@ -40,8 +40,8 @@ valid until at least the next call.
#include <unixlib.h>
#else
/* For systems with larger pointers than ints, these must be declared. */
-extern PTR malloc (size_t);
-extern void free (PTR);
+extern void *malloc (size_t);
+extern void free (void *);
#endif
const char *