summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-01-29 23:04:21 +0000
committerJeff Johnston <jjohnstn@redhat.com>2010-01-29 23:04:21 +0000
commit2d69f00e6e27f282b49cd7ff14f27b2d5ae66161 (patch)
tree4c2ef0f545810565a423c8ecf4bbc5346a38afc5
parent54c4a926348fbef40e9467730e044235b8aa9cce (diff)
downloadcygnal-2d69f00e6e27f282b49cd7ff14f27b2d5ae66161.tar.gz
cygnal-2d69f00e6e27f282b49cd7ff14f27b2d5ae66161.tar.bz2
cygnal-2d69f00e6e27f282b49cd7ff14f27b2d5ae66161.zip
2010-01-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/search/Makefile.am: Create .def files for bsearch and qsort. * libc/search/Makefile.in: Regenerated. * libc/stdlib/stdlib.tex: Add bsearch and qsort.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/search/Makefile.am4
-rw-r--r--newlib/libc/search/Makefile.in5
-rw-r--r--newlib/libc/stdlib/stdlib.tex8
4 files changed, 21 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 5b21f2b1b..7ef714c77 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-29 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/search/Makefile.am: Create .def files for bsearch and qsort.
+ * libc/search/Makefile.in: Regenerated.
+ * libc/stdlib/stdlib.tex: Add bsearch and qsort.
+
2010-01-24 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/nl_langinfo.c (nl_langinfo): Return "CP932" when using
diff --git a/newlib/libc/search/Makefile.am b/newlib/libc/search/Makefile.am
index 098be35ba..27726fd4c 100644
--- a/newlib/libc/search/Makefile.am
+++ b/newlib/libc/search/Makefile.am
@@ -47,7 +47,9 @@ endif # USE_LIBTOOL
SUFFIXES = .def
-CHEWOUT_FILES =
+CHEWOUT_FILES = \
+ bsearch.def \
+ qsort.def
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
diff --git a/newlib/libc/search/Makefile.in b/newlib/libc/search/Makefile.in
index ae8862d8d..e9354647b 100644
--- a/newlib/libc/search/Makefile.in
+++ b/newlib/libc/search/Makefile.in
@@ -277,7 +277,10 @@ libsearch_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
SUFFIXES = .def
-CHEWOUT_FILES =
+CHEWOUT_FILES = \
+ bsearch.def \
+ qsort.def
+
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
TARGETDOC = ../tmp.texi
CLEANFILES = $(CHEWOUT_FILES) *.ref
diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex
index b227d13e9..4f7bc59ae 100644
--- a/newlib/libc/stdlib/stdlib.tex
+++ b/newlib/libc/stdlib/stdlib.tex
@@ -14,6 +14,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* atof:: String to double or float
* atoi:: String to integer
* atoll:: String to long long
+* bsearch:: Binary search
* calloc:: Allocate space for arrays
* div:: Divide two integers
* ecvtbuf:: Double or float to string of digits
@@ -34,6 +35,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter
* on_exit:: Request execution of functions at program exit
+* qsort:: Array sort
* rand:: Pseudo-random numbers
* rand48:: Uniformly distributed pseudo-random numbers
* strtod:: String to double or float
@@ -80,6 +82,9 @@ The corresponding declarations are in the header file @file{stdlib.h}.
@include stdlib/atoll.def
@page
+@include search/bsearch.def
+
+@page
@include stdlib/calloc.def
@page
@@ -137,6 +142,9 @@ The corresponding declarations are in the header file @file{stdlib.h}.
@include stdlib/on_exit.def
@page
+@include search/qsort.def
+
+@page
@include stdlib/rand.def
@page