diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-librecon.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 695ac24c77..4508365871 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -254,6 +254,10 @@ extern int _dl_name_match_p (const char *__name, const struct link_map *__map) extern unsigned long int _dl_higher_prime_number (unsigned long int n) internal_function attribute_hidden; +/* A stripped down strtoul-like implementation. */ +uint64_t internal_function _dl_strtoul (const char *, char **) + internal_function attribute_hidden; + /* Function used as argument for `_dl_receive_error' function. The arguments are the error code, error string, and the objname the error occurred in. */ diff --git a/sysdeps/unix/sysv/linux/dl-librecon.h b/sysdeps/unix/sysv/linux/dl-librecon.h index a6e54bed75..e726ff29bb 100644 --- a/sysdeps/unix/sysv/linux/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/dl-librecon.h @@ -28,7 +28,7 @@ _dl_osversion_init (char *assume_kernel) for (i = 0; i < 3; i++, p = q + 1) { - j = __strtoul_internal (p, &q, 0, 0); + j = _dl_strtoul (p, &q); if (j >= 255 || p == q || (i < 2 && *q && *q != '.')) { osversion = 0; |