* collect2.c (extract_init_priority): Use atoi instead of strtoul.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21853
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed Aug 19 13:06:47 1998 Jason Merrill <jason@yorick.cygnus.com>
+
+ * collect2.c (extract_init_priority): Use atoi instead of strtoul.
+
Wed Aug 19 13:51:35 1998 Hans-Peter Nilsson <hp@axis.se>
* tm.texi (Misc): Fix typo "teh".
pos += 10; /* strlen ("GLOBAL__X_") */
/* Extract init_p number from ctor/dtor name. */
- return strtoul(name + pos, NULL, 10);
+ return atoi (name + pos);
}
/* Insertion sort the ids from ctor/dtor list HEAD_PTR in descending order.