diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-10 19:12:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-10 19:12:13 +0000 |
commit | 4e5bae56d47dbb1b1428a536ab61413afc544687 (patch) | |
tree | ff361353bf726208324754bfa3047e4d7f3a341a /ld/ldmain.c | |
parent | 34b0f91d24c2668c92d68fefe418cb02bfcc97db (diff) | |
download | gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.zip gdb-4e5bae56d47dbb1b1428a536ab61413afc544687.tar.gz 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.c | 5 |
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)); |