aboutsummaryrefslogtreecommitdiff
path: root/gold/ftruncate.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/ftruncate.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/ftruncate.c')
-rw-r--r--gold/ftruncate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/ftruncate.c b/gold/ftruncate.c
index ff7d11b..fc0bbc8 100644
--- a/gold/ftruncate.c
+++ b/gold/ftruncate.c
@@ -9,6 +9,8 @@
#include <sys/types.h>
#include <fcntl.h>
+extern int ftruncate (int, off_t);
+
#ifdef F_CHSIZE
int