Ed Schouten
b3608ae18f
Replace index() and rindex() calls with strchr() and strrchr().
...
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
Ed Schouten
2c201a9afe
Fix many "function declaration isn't a prototype" warnings in libc.
...
I've only fixed code that seems to be written by `us'. There are still
many warnings like this present in resolv/, rpc/, stdtime/ and yp/.
2009-12-05 19:31:38 +00:00
Warner Losh
c879ae3536
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
David E. O'Brien
22626efa0f
* Remove 'register'. (some functions had 7+ register functions...)
...
* Fix SCM ID's.
2002-02-01 01:08:48 +00:00
Warner Losh
9f6c32362c
Eliminate sprintf
...
Obtained from:OpenBSD (theo de raadt)
1998-01-21 21:46:36 +00:00
Jordan K. Hubbard
51295a4d3e
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
Garrett Wollman
21271a8c7a
Don't depend on bogusly-installed <tzfile.h>.
1995-08-05 20:25:24 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00