26 Commits

Author SHA1 Message Date
Peter S. Mazinger
25a3498935 str[n]casecmp.c: fix hidden usage
Provide visible str[n]casecmp[_l], wcs[n]casecmp[_l].

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10 00:01:10 +01:00
Peter S. Mazinger
f4ec824864 ctype.c, _collate.c, str[n]casecmp.c, strlcpy.c: remove unused hidden functions
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09 21:11:47 +01:00
Denys Vlasenko
93f8a2e834 convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-18 23:07:26 +02:00
Bernhard Reutner-Fischer
21730caa66 trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *)
  sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *)
  should be a nop

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-18 20:57:40 +02:00
Denis Vlasenko
cb97aadebf Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
2008-11-20 22:11:44 +00:00
Denis Vlasenko
b133fe1cac next portion of libc_hidden_proto removal 2008-11-20 22:07:43 +00:00
Denis Vlasenko
933df87e4e libc_hidden_proto removal, a few more functions 2008-11-18 01:10:26 +00: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
ad636db9fe fix fallout from libc_hidden_proto removal 2008-06-02 05:49:58 +00:00
Denis Vlasenko
f92843b334 fix compile breakage in libc/string/wcscasecmp.c
by adding include <wchar.h> in strcasecmp.c
2008-06-01 21:01:14 +00:00
Denis Vlasenko
6a57f013cf fix fallout from string.h libc_hidden_proto removal 2008-05-31 10:48:50 +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
Peter S. Mazinger
d5f635529a select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist 2006-03-23 11:14:16 +00:00
Peter S. Mazinger
766ef9a2cc Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined 2006-03-22 17:28:37 +00:00
Peter S. Mazinger
b25ad630be Last relocs jump and global data, (even locales) that I could remove are gone from libc. The remaining are left as exercise for others ;-) 2006-01-16 18:07:18 +00:00
Peter S. Mazinger
6f7dc709ed make DODEBUG=y happy, update sysdeps/common/* copyright 2006-01-14 19:45:02 +00:00
Peter S. Mazinger
af0172162f hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed 2006-01-14 00:58:03 +00:00
Peter S. Mazinger
fbf868b243 Provide __tolower and use it 2006-01-03 15:48:34 +00:00
Peter S. Mazinger
ab1677f525 Revert a change until I find the textrel cause 2006-01-03 15:25:34 +00:00
Peter S. Mazinger
167d5e33fc Complete split of all the string functions. Hope haven't broken too much. wcscoll/strcoll needs some love ... 2006-01-03 14:50:18 +00:00
Eric Andersen
fd6b9378be Cleanup the mess, remove now obsolete files
-Erik
2002-06-12 21:59:00 +00:00
Eric Andersen
6e19bb63e5 Fix copyright message 2002-02-13 10:22:54 +00:00
Eric Andersen
ce4b0fa7e8 Mark Robson noticed that our strcasecmp() behaviour was not
standards compliant.  Brian Stafford then provided these new
implementations, which apprear to properly follow SUSv2.
 -Erik
2002-02-12 20:28:12 +00:00
Eric Andersen
fbb4007ac8 Update and simplification. 2000-10-07 23:37:03 +00:00
Eric Andersen
afb85e9d6c Rework all the string handling. Make const stuff be constified.
-Erik
2000-07-06 07:16:59 +00:00
Erik Andersen
64bc641218 Initial revision 2000-05-14 04:16:35 +00:00