aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>2005-03-30 02:46:25 +0000
committerAaron W. LaFramboise <aaronavay62@aaronwl.com>2005-03-30 02:46:25 +0000
commitefa9bda48249988ac6d0459f5331b73e0d43339e (patch)
tree6e8eebae84ede3a6a8372ca9121f5dc23901133c /bfd/sysdep.h
parent9ac9941eecc39478176fa5be5c2e92ca397551f1 (diff)
downloadgdb-efa9bda48249988ac6d0459f5331b73e0d43339e.zip
gdb-efa9bda48249988ac6d0459f5331b73e0d43339e.tar.gz
gdb-efa9bda48249988ac6d0459f5331b73e0d43339e.tar.bz2
* configure.in: Check for ffs decl and alphabetize.
* config.in: Regenerate. * configure: Regenerate. * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index 1954470..e94491d 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -105,8 +105,16 @@ extern char *strrchr ();
#include "filenames.h"
-#ifdef NEED_DECLARATION_STRSTR
-extern char *strstr ();
+#ifdef NEED_DECLARATION_FFS
+extern int ffs (int);
+#endif
+
+#ifdef NEED_DECLARATION_FREE
+extern void free ();
+#endif
+
+#ifdef NEED_DECLARATION_GETENV
+extern char *getenv ();
#endif
#ifdef NEED_DECLARATION_MALLOC
@@ -117,12 +125,8 @@ extern PTR malloc ();
extern PTR realloc ();
#endif
-#ifdef NEED_DECLARATION_FREE
-extern void free ();
-#endif
-
-#ifdef NEED_DECLARATION_GETENV
-extern char *getenv ();
+#ifdef NEED_DECLARATION_STRSTR
+extern char *strstr ();
#endif
/* Define offsetof for those systems which lack it */