aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-11 11:28:27 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-11 11:28:27 +0000
commitf177a611f1cf28a94a906e4338e49688b5e21fc1 (patch)
treee36849ab949e574d5ebc9dd3f3bf15a2d5deed1d /ld/ldmain.c
parentd7381d0cb014eaaef7a64402e5d767f6f7b767aa (diff)
downloadgdb-f177a611f1cf28a94a906e4338e49688b5e21fc1.zip
gdb-f177a611f1cf28a94a906e4338e49688b5e21fc1.tar.gz
gdb-f177a611f1cf28a94a906e4338e49688b5e21fc1.tar.bz2
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index f3770c0..781f8df 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -20,13 +20,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* Written by Steve Chamberlain steve@cygnus.com
*
* $Id$
- *
- *
*/
-
-#include "sysdep.h"
#include "bfd.h"
+#include "sysdep.h"
#include "config.h"
#include "ld.h"
@@ -99,7 +96,7 @@ boolean write_map;
int unix_relocate;
#ifdef GNU960
/* Indicates whether output file will be b.out (default) or coff */
-enum target_flavour_enum output_flavor = BFD_BOUT_FORMAT;
+enum target_flavour output_flavor = BFD_BOUT_FORMAT;
#endif
/* Force the make_executable to be output, even if there are non-fatal