2002-02-10 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Mon, 11 Feb 2002 02:41:37 +0000 (02:41 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 11 Feb 2002 02:41:37 +0000 (02:41 +0000)
        * lexsup.c: Remove strtoul declaration.

ld/ChangeLog
ld/lexsup.c

index b70fbc5..6eab18b 100644 (file)
@@ -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
index 7208074..230dd6b 100644 (file)
@@ -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));