mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 08:14:32 +08:00
Fix SunOS4 build failure.
* collect2.c (extract_init_priority): Use atoi instead of strtoul. From-SVN: r21853
This commit is contained in:
parent
9b559a2720
commit
b77623bc58
@ -1,3 +1,7 @@
|
||||
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".
|
||||
|
@ -1753,7 +1753,7 @@ extract_init_priority (name)
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user