Commit b77623bc by Jason Merrill Committed by Jim Wilson

Fix SunOS4 build failure.

	* collect2.c (extract_init_priority): Use atoi instead of strtoul.

From-SVN: r21853
parent 9b559a27
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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment