aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-10 19:12:13 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-10 19:12:13 +0000
commit4e5bae56d47dbb1b1428a536ab61413afc544687 (patch)
treeff361353bf726208324754bfa3047e4d7f3a341a /ld/ldmain.c
parent34b0f91d24c2668c92d68fefe418cb02bfcc97db (diff)
downloadfsf-binutils-gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.zip
fsf-binutils-gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.tar.gz
fsf-binutils-gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.tar.bz2
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* ldmain.c: Add prototype for main (). * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. * emultempl/lnk960.em (lnk960_choose_target): Function should take two arguments.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index eac23ae..12e31dd 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -1,5 +1,6 @@
/* Main program of GNU linker.
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+ 2002
Free Software Foundation, Inc.
Written by Steve Chamberlain steve@cygnus.com
@@ -54,6 +55,8 @@ extern PTR sbrk ();
#endif
#endif
+int main PARAMS ((int, char **));
+
static char *get_emulation PARAMS ((int, char **));
static void set_scripts_dir PARAMS ((void));