[PATCH 10/11] Use makedoc output files which are generated but aren't included

Jon TURNEY jon.turney@dronecode.org.uk
Tue Jun 23 19:52:00 GMT 2015


I think these are accidental omissions, as these source files are listed to be
chewed by makedoc, but the result is not included by any texinfo source file.

Future work: Nothing in libc/reent/ which is processed by makedoc is included by
reent.tex

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

	* libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
	* libc/string/strings.tex: Include memrchr andrawmemchr, and add to
	menu.
	* libm/math/math.tex: Include exp10 and pow10, and add to menu.
	* libm/common/s_exp10.c: Improve one-line description.
	* libm/common/s_exp10.c: Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
 newlib/ChangeLog               | 9 +++++++++
 newlib/libc/stdlib/stdlib.tex  | 8 ++++++++
 newlib/libc/string/strings.tex | 8 ++++++++
 newlib/libm/common/s_exp10.c   | 2 +-
 newlib/libm/common/s_pow10.c   | 2 +-
 newlib/libm/math/math.tex      | 6 ++++++
 6 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 21657da..b388c21 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,14 @@
 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
 
+	* libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
+	* libc/string/strings.tex: Include memrchr andrawmemchr, and add to
+	menu.
+	* libm/math/math.tex: Include exp10 and pow10, and add to menu.
+	* libm/common/s_exp10.c: Improve one-line description.
+	* libm/common/s_exp10.c: Ditto.
+
+2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* libc/stdlib/Makefile.am (CHEWOUT_FILES): Remove $(MALLOCR).def.
 	* libc/stdio/Makefile.am (CHEWOUT_FILES): Remove getwc.def and
 	putwc.def.
diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex
index 7ec63f1..fdd495e 100644
--- a/newlib/libc/stdlib/stdlib.tex
+++ b/newlib/libc/stdlib/stdlib.tex
@@ -23,6 +23,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
 * gcvt::        Format double or float as string
 * exit::        End program execution
 * getenv::      Look up environment variable
+* itoa::        Integer to string
 * labs::        Long integer absolute value (magnitude)
 * ldiv::        Divide two long integers
 * llabs::       Long long integer absolute value (magnitude)
@@ -50,6 +51,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
 * wcstoul::     Wide string to unsigned long
 * wcstoull::    Wide string to unsigned long long
 * system::      Execute command string
+* utoa::        Unsigned integer to string
 * wcstombs::	Minimal wide string to multibyte string converter
 * wctomb::      Minimal wide character to multibyte converter
 @end menu
@@ -106,6 +108,9 @@ The corresponding declarations are in the header file @file{stdlib.h}.
 @include stdlib/getenv.def
 
 @page
+@include stdlib/itoa.def
+
+@page
 @include stdlib/labs.def
 
 @page
@@ -187,6 +192,9 @@ The corresponding declarations are in the header file @file{stdlib.h}.
 @include stdlib/system.def
 
 @page
+@include stdlib/utoa.def
+
+@page
 @include stdlib/wcstombs.def
 
 @page
diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex
index ae00a26..9dfc799 100644
--- a/newlib/libc/string/strings.tex
+++ b/newlib/libc/string/strings.tex
@@ -17,7 +17,9 @@ managing areas of memory.  The corresponding declarations are in
 * memmem::      Find memory segment
 * memmove::     Move possibly overlapping memory
 * mempcpy::	Copy memory regions and locate end
+* memrchr::     Reverse search for character in memory
 * memset::      Set an area of memory
+* rawmemchr::   Find character in memory
 * rindex::      Reverse search for character in string
 * stpcpy::      Copy string returning a pointer to its end
 * stpncpy::     Counted copy string returning a pointer to its end
@@ -86,9 +88,15 @@ managing areas of memory.  The corresponding declarations are in
 @include string/mempcpy.def
 
 @page
+@include string/memrchr.def
+
+@page
 @include string/memset.def
 
 @page
+@include string/rawmemchr.def
+
+@page
 @include string/rindex.def
 
 @page
diff --git a/newlib/libm/common/s_exp10.c b/newlib/libm/common/s_exp10.c
index 12f3003..23cedfb 100644
--- a/newlib/libm/common/s_exp10.c
+++ b/newlib/libm/common/s_exp10.c
@@ -14,7 +14,7 @@
 
 /*
 FUNCTION
-	<<exp10>>, <<exp10f>>---exponential
+	<<exp10>>, <<exp10f>>---exponential, base 10
 INDEX
 	exp10
 INDEX
diff --git a/newlib/libm/common/s_pow10.c b/newlib/libm/common/s_pow10.c
index 16ec004..052e26d 100644
--- a/newlib/libm/common/s_pow10.c
+++ b/newlib/libm/common/s_pow10.c
@@ -14,7 +14,7 @@
 
 /*
 FUNCTION
-	<<pow10>>, <<pow10f>>---exponential
+	<<pow10>>, <<pow10f>>---base 10 power functions
 INDEX
 	pow10
 INDEX
diff --git a/newlib/libm/math/math.tex b/newlib/libm/math/math.tex
index 03268f9..a6f931b 100644
--- a/newlib/libm/math/math.tex
+++ b/newlib/libm/math/math.tex
@@ -51,6 +51,7 @@ machines---are available when you include @file{fastmath.h} instead of
 * cosh::	Hyperbolic cosine
 * erf::		Error function (erf, erfc)
 * exp::		Exponential, base e
+* exp10::	Exponential, base 10
 * exp2::	Exponential, base 2
 * expm1::	Exponential, base e, of x - 1
 * fabs::	Absolute value (magnitude)
@@ -81,6 +82,7 @@ machines---are available when you include @file{fastmath.h} instead of
 * nearbyint::	Round to integer
 * nextafter::	Get next representable number
 * pow::		X to the power Y
+* pow10::	10 to the power X
 * remainder::	remainder of X divided by Y 
 * remquo::	Remainder and part of quotient
 * rint::	Round to integer
@@ -189,6 +191,8 @@ registered trademark of The IEEE.
 @page
 @include   math/w_exp.def
 @page
+@include   common/s_exp10.def
+@page
 @include   math/w_exp2.def
 @page
 @include common/s_expm1.def
@@ -249,6 +253,8 @@ registered trademark of The IEEE.
 @page
 @include   math/w_pow.def
 @page
+@include   common/s_pow10.def
+@page
 @include   math/w_remainder.def
 @page
 @include common/s_remquo.def
-- 
2.1.4



More information about the Newlib mailing list