about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2017-12-23 14:53:07 +0100
committerAurelien Jarno <aurelien@aurel32.net>2017-12-23 15:01:13 +0100
commitf5c558f3ecdf1d635f5614f5b49cd630786df46a (patch)
treefd5430a3e8eb2a1c428ff2952d6a1a6c636faa00
parente65a5644e6614d8f3e5dbcb2aa3e3f9f36ac6da9 (diff)
downloadglibc-f5c558f3ecdf1d635f5614f5b49cd630786df46a.tar.gz
glibc-f5c558f3ecdf1d635f5614f5b49cd630786df46a.tar.xz
glibc-f5c558f3ecdf1d635f5614f5b49cd630786df46a.zip
manual: fix a typo in strtoul description [BZ #21161]
Typo reported by Vincent Lefèvre: 'retrict' -> 'restrict'.

Changelog:
	[BZ #21161]
	* manual/arith.texi (strtoul): Fix a typo.
-rw-r--r--ChangeLog3
-rw-r--r--manual/arith.texi2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c29d25a6fa..4050ec4e53 100644
--- 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.
diff --git a/manual/arith.texi b/manual/arith.texi
index 4649bdf956..56ae6ddb35 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -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