This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 02/11] Fix some mangled makedoc markup


2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>

	* libc/stdlib/itoa.c: Fix makedoc markup.
	* libc/stdlib/wcsnrtombs.c: Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
 newlib/ChangeLog                | 5 +++++
 newlib/libc/stdlib/itoa.c       | 2 +-
 newlib/libc/stdlib/wcsnrtombs.c | 8 ++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1a857b6..be22009 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
 
+	* libc/stdlib/itoa.c: Fix makedoc markup.
+	* libc/stdlib/wcsnrtombs.c: Ditto.
+
+2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* libc/signal/signal.tex: Use texinfo not makedoc markup.
 	* libc/stdio/stdio.tex: Ditto.
 
diff --git a/newlib/libc/stdlib/itoa.c b/newlib/libc/stdlib/itoa.c
index c7c9b88..377834d 100644
--- a/newlib/libc/stdlib/itoa.c
+++ b/newlib/libc/stdlib/itoa.c
@@ -11,7 +11,7 @@ ANSI_SYNOPSIS
 	char *__itoa(int <[value]>, char *<[str]>, int <[base]>);
 
 DESCRIPTION
-<<itoa>> converts the integer [<value>] to a null-terminated string
+<<itoa>> converts the integer <[value]> to a null-terminated string
 using the specified base, which must be between 2 and 36, inclusive.
 If <[base]> is 10, <[value]> is treated as signed and the string will be 
 prefixed with '-' if negative. For all other bases, <[value]> is treated as
diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c
index fa1b2ac..99c8bd1 100644
--- a/newlib/libc/stdlib/wcsnrtombs.c
+++ b/newlib/libc/stdlib/wcsnrtombs.c
@@ -69,12 +69,12 @@ TRAD_SYNOPSIS
 DESCRIPTION
 The <<wcsrtombs>> function converts a string of wide characters indirectly
 pointed to by <[src]> to a corresponding multibyte character string stored in
-the array pointed to by <[dst}>.  No more than <[len]> bytes are written to
-<[dst}>.
+the array pointed to by <[dst]>.  No more than <[len]> bytes are written to
+<[dst]>.
 
-If <[dst}> is NULL, no characters are stored.
+If <[dst]> is NULL, no characters are stored.
 
-If <[dst}> is not NULL, the pointer pointed to by <[src]> is updated to point
+If <[dst]> is not NULL, the pointer pointed to by <[src]> is updated to point
 to the character after the one that conversion stopped at.  If conversion
 stops because a null character is encountered, *<[src]> is set to NULL.
 
-- 
2.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]