aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
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/gold.h
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/gold.h')
-rw-r--r--gold/gold.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/gold.h b/gold/gold.h
index dc8da55..a377f96 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -127,7 +127,11 @@ extern "C" int ftruncate(int, off_t);
#ifndef HAVE_MREMAP
#define MREMAP_MAYMOVE 1
-extern "C" void *mremap (void *, size_t, size_t, int, ...);
+extern "C" void *mremap(void *, size_t, size_t, int, ...);
+#endif
+
+#ifndef HAVE_FFSLL
+extern "C" int ffsll(long long);
#endif
namespace gold