summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 12:43:51 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 20:56:30 +0100
commitde5e58a6402ce2f4abd55a47e698030dbce30ac9 (patch)
treedf24fad841318f17827da32b86d97740eb87c8c9
parenteb61ffe8ddfebebc1f3e23401bdab4d83056c414 (diff)
downloadcygnal-de5e58a6402ce2f4abd55a47e698030dbce30ac9.tar.gz
cygnal-de5e58a6402ce2f4abd55a47e698030dbce30ac9.tar.bz2
cygnal-de5e58a6402ce2f4abd55a47e698030dbce30ac9.zip
Fix typo-ed function names in efgcvt.c documentation
Fix typo-ed function names in efgcvt.c documentation, neither gvcvt nor gdvtf exists. 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> * libc/stdlib/efgcvt.c: Fix typo-ed function names in documentation. * libc/stdlib/stdlib.tex: Fix function name in menu to match. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/stdlib/efgcvt.c4
-rw-r--r--newlib/libc/stdlib/stdlib.tex2
3 files changed, 9 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index cba8f6307..f5b173765 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+ * libc/stdlib/efgcvt.c: Fix typo-ed function names in
+ documentation.
+ * libc/stdlib/stdlib.tex: Fix function name in menu to match.
+
+2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+
* libc/stdio/fread.c: Fix inconsistent use of '.' to separate
function names in FUNCTION mark up.
diff --git a/newlib/libc/stdlib/efgcvt.c b/newlib/libc/stdlib/efgcvt.c
index ba0250490..5d6e1aea3 100644
--- a/newlib/libc/stdlib/efgcvt.c
+++ b/newlib/libc/stdlib/efgcvt.c
@@ -84,7 +84,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
NEWPAGE
FUNCTION
-<<gvcvt>>, <<gcvtf>>---format double or float as string
+<<gcvt>>, <<gcvtf>>---format double or float as string
INDEX
gcvt
@@ -111,7 +111,7 @@ TRAD_SYNOPSIS
DESCRIPTION
<<gcvt>> writes a fully formatted number as a null-terminated
-string in the buffer <<*<[buf]>>>. <<gdvtf>> produces corresponding
+string in the buffer <<*<[buf]>>>. <<gcvtf>> produces corresponding
character representations of <<float>> numbers.
<<gcvt>> uses the same rules as the <<printf>> format
diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex
index 4f7bc59ae..7ec63f15a 100644
--- a/newlib/libc/stdlib/stdlib.tex
+++ b/newlib/libc/stdlib/stdlib.tex
@@ -20,7 +20,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* ecvtbuf:: Double or float to string of digits
* ecvt:: Double or float to string of digits (malloc result)
* __env_lock:: Lock environment list for getenv and setenv
-* gvcvt:: Format double or float as string
+* gcvt:: Format double or float as string
* exit:: End program execution
* getenv:: Look up environment variable
* labs:: Long integer absolute value (magnitude)