Pushed as obvious.
pietro

-- >8 --
Commit r13-1694-g9f7f0499896445 fixed the typo directly in
functions.texi, but commit r17-5813-g2612b60e5b66db regenerated the
file reverting the fix.  So fix it in the source and regenerate
functions.texi again.

libiberty/ChangeLog:

        * functions.texi: Regenerate.
        * strtoll.c: Replace strtoul with strtoull in the documentation comment.

Signed-off-by: Pietro Monteiro <[email protected]>
---
 libiberty/functions.texi | 2 +-
 libiberty/strtoll.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libiberty/functions.texi b/libiberty/functions.texi
index 16a9d3ae4ac..98991367cf4 100644
--- a/libiberty/functions.texi
+++ b/libiberty/functions.texi
@@ -1785,7 +1785,7 @@ that the converted value is unsigned.
 @c strtoll.c:33
 @deftypefn Supplemental {long long int} strtoll (const char *@var{string}, @
   char **@var{endptr}, int @var{base})
-@deftypefnx Supplemental {unsigned long long int} strtoul (@
+@deftypefnx Supplemental {unsigned long long int} strtoull (@
   const char *@var{string}, char **@var{endptr}, int @var{base})
 
 The @code{strtoll} function converts the string in @var{string} to a
diff --git a/libiberty/strtoll.c b/libiberty/strtoll.c
index 37ff8cd3d4c..d8127211c54 100644
--- a/libiberty/strtoll.c
+++ b/libiberty/strtoll.c
@@ -32,7 +32,7 @@
 
 @deftypefn Supplemental {long long int} strtoll (const char *@var{string}, @
   char **@var{endptr}, int @var{base})
-@deftypefnx Supplemental {unsigned long long int} strtoul (@
+@deftypefnx Supplemental {unsigned long long int} strtoull (@
   const char *@var{string}, char **@var{endptr}, int @var{base})
 
 The @code{strtoll} function converts the string in @var{string} to a
-- 
2.56.0

Reply via email to