summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-11 02:41:37 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-11 02:41:37 +0000
commit37b0ac0fc81f96726fcaf767aba6048374672914 (patch)
treea6d77c8382fa812596fbe1bc58e0b4dd842efe43 /ld
parent8d037c5c9351a41904914618084e429a4115b47a (diff)
downloadbinutils-gdb-37b0ac0fc81f96726fcaf767aba6048374672914.tar.gz
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* lexsup.c: Remove strtoul declaration.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/lexsup.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b70fbc5099a..6eab18ba5da 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
+ * lexsup.c: Remove strtoul declaration.
+
+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
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 72080743fd8..230dd6bb55b 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -53,13 +53,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#ifndef HAVE_STDLIB_H
-/* If we have <stdlib.h>, assume it defines strtoul. */
-/* Omit args to avoid the possibility of clashing with a system header
- that might disagree about consts. */
-unsigned long strtoul ();
-#endif
-
static int is_num PARAMS ((const char *, int, int, int));
static void set_default_dirlist PARAMS ((char *dirlist_ptr));
static void set_section_start PARAMS ((char *sect, char *valstr));