* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
commitc0baea34e0a5b6312d22c2318127480efd1e1dfe
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 17:43:28 +0000 (23 10:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 17:43:28 +0000 (23 10:43 -0700)
tree81bef5e996fb0c01476fbb760cf5e52ae22556b2
parent803cb6b7a90de1dbfeb0b34e1c3fa7190ed2bec5
* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.

[BZ #13970]
(strtod, strtof, strtold, strtol, strtoul, strtoq)
(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
(strtod_l, strtof_l, strtold_l): Remove __wur.
It is not necessarily an error to ignore strtol's return value.
One can reliably look at the stored endptr to decide whether
the number had valid syntax.
ChangeLog
stdlib/stdlib.h