aboutsummaryrefslogtreecommitdiff
path: root/gold/mremap.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-03-28 05:22:30 +0000
committerIan Lance Taylor <ian@airs.com>2009-03-28 05:22:30 +0000
commitfd03461a93f2e080e317da40dc4929ee437ffb76 (patch)
treeb39eddbb67236e3cb29f78f93ef59b9737c8fe78 /gold/mremap.c
parent1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5 (diff)
downloadgdb-fd03461a93f2e080e317da40dc4929ee437ffb76.zip
gdb-fd03461a93f2e080e317da40dc4929ee437ffb76.tar.gz
gdb-fd03461a93f2e080e317da40dc4929ee437ffb76.tar.bz2
* ffsll.c: New file.
* configure.ac: Call AC_REPLACE_FUNCS on ffsll. * gold.h (ffsll): Declare if HAVE_FFSLL is not defined. * ftruncate.c (ftruncate): Declare before definition. * mremap.c (mremap): Likewise. * pread.c (pread): Likewise. * configure, Makefile.in, config.in: Rebuild.
Diffstat (limited to 'gold/mremap.c')
-rw-r--r--gold/mremap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/mremap.c b/gold/mremap.c
index caa7bc7..332fded 100644
--- a/gold/mremap.c
+++ b/gold/mremap.c
@@ -40,6 +40,8 @@
# define MAP_ANONYMOUS MAP_ANON
#endif
+extern void *mremap (void *, size_t, size_t, int, ...);
+
void *
mremap (void *old_address, size_t old_size, size_t new_size,
int flags ATTRIBUTE_UNUSED, ...)