9 Commits

Author SHA1 Message Date
Peter S. Mazinger
7e8c8ed66a update partially string.h and strings.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-15 23:51:59 +01:00
Denys Vlasenko
4a2724d93b s/UCLIBC_INTERNAL/_LIBC/g
Undo my old mistake. I added UCLIBC_INTERNAL define,
but later I realized _LIBC is doing exactly the same thing.

This change converts all usages of UCLIBC_INTERNAL to _LIBC,
removing all instances of UCLIBC_INTERNAL.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-21 20:09:13 +02:00
Bernd Schmidt
6d7aed92f2 This fixes a problem with the move of libc_hidden_proto to string.h.
The obsolete functions bcopy, index, etc. are not supposed to be used within
uClibc itself.  Hence, there is no libc_hidden_def for them, but the previous
patch did not just move libc_hidden_protos, it also added new ones for the
legacy functions.  As a result, programs which use these functions can no
longer link with uClibc.

This fixes it by removing the unnecessary libc_hidden_protos.  I've also
removed all inclusions of <strings.h> from uClibc source files: since we
define _GNU_SOURCE, it is sufficient to include <string.h>.  We then do not
need to duplicate the libc_hidden_proto block in <strings.h>.
2008-06-04 14:02:56 +00:00
Denis Vlasenko
125773133f Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
in string.h and strings.h. This caught unguarded string ops in
libc/inet/ethers.c __ether_line_w() function.

I will wait for fallout reports for a week or so,
then continue converting more libc_hidden_proto's.
2008-05-19 22:57:34 +00:00
Bernhard Reutner-Fischer
6c8e75a865 - r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ from string.h 2006-12-23 14:12:40 +00:00
Peter S. Mazinger
a26ac41c49 Add new option for SuSv3 legacy functions and use it for bcopy/bzero/bcmp/index/rindex 2006-03-23 17:19:42 +00:00
Peter S. Mazinger
a4da1e43fc Sync w/ string.h, glibc version is out of date 2006-03-23 11:33:52 +00:00
Eric Andersen
e83a36ce9f Rev all the header files to sync things with glibc 2.2.4 2001-09-27 05:21:15 +00:00
Erik Andersen
64bc641218 Initial revision 2000-05-14 04:16:35 +00:00