]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: fix a typo in strtoul description [BZ #21161]
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 23 Dec 2017 13:53:07 +0000 (14:53 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 23 Dec 2017 14:01:13 +0000 (15:01 +0100)
Typo reported by Vincent Lefèvre: 'retrict' -> 'restrict'.

Changelog:
[BZ #21161]
* manual/arith.texi (strtoul): Fix a typo.

ChangeLog
manual/arith.texi

index c29d25a6fa1dae07f6f633bb5cccc7f7b301ec07..4050ec4e53b94be225433e1d7a3b047b7faa7b01 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-12-23  Aurelien Jarno <aurelien@aurel32.net>
 
+       [BZ #21161]
+       * manual/arith.texi (strtoul): Fix a typo.
+
        [BZ #22596]
        * manual/arith.texi (finite): Fix the description of the return
        value.
index 4649bdf956d0c07edf72b4e77916761629c068cf..56ae6ddb3538467f20457b29328db5cce4d21b84 100644 (file)
@@ -2484,7 +2484,7 @@ in nearly all aspects but handles wide character strings.
 The @code{wcstol} function was introduced in @w{Amendment 1} of @w{ISO C90}.
 @end deftypefun
 
-@deftypefun {unsigned long int} strtoul (const char *retrict @var{string}, char **restrict @var{tailptr}, int @var{base})
+@deftypefun {unsigned long int} strtoul (const char *restrict @var{string}, char **restrict @var{tailptr}, int @var{base})
 @standards{ISO, stdlib.h}
 @safety{@prelim{}@mtsafe{@mtslocale{}}@assafe{}@acsafe{}}
 The @code{strtoul} (``string-to-unsigned-long'') function is like