freebsd-skq/include
bde d60c039cdc Reviewed by: ache and wollman (long ago)
Fix numerous ANSI conformance bugs and other nits.

ctype.h:
o There were no prototypes behind the macros (conformance bug).
o isascii() didn't have enough parentheses (plain bug).
o tolower() and toupper were always static inline (conformance
  bug?  You could undef them and take their address, but this
  gave different addresses in different modules.  You couldn't
  undef them and declare them (correctly) again).  <stdio.h>'s
  treatment of putc() shows one way to handle this problem,
  but it only works because the putc() macro is allowed to
  reevaluate its args.  I used a hack controlled by
  _EXTERNALIZE_CTYPE_INLINES_ to get <ctype.h> to generate the
  code (the previous hack involving _ANSI_LIBRARY_ goes away).
  This has the advantage that the core of the functions is only
  written down once and the disadvantage that another layer of
  functions is required.  The extra layer goes away if inline
  functions are used, leaving only the problem of understanding
  why there are functions named toupper(), __toupper and
  ___toupper() as well as a macro named toupper.
o Nothing seems to define _USE_CTYPE_LIBRARY_.  Eliminate it
o Let the user set _USE_CTYPE_INLINE_ and _DONT_USE_CTYPE_INLINE_
  for full control over inlining.
o The args for the inline functions didn't have enough
  underscores (conformance bug).
o The formatting and ordering was inconsistent (style bug).
o TODO: fix conformance bugs brought by including <runetype.h>.
1995-04-07 11:43:40 +00:00
..
arpa get* rework and new bind code 1994-09-25 02:12:49 +00:00
protocols Changed idempotent strings to reflect directory area. 1994-08-21 04:05:05 +00:00
rpc Forward-declare `struct rpc_err' so that it isn't declared inside a 1995-03-12 12:13:37 +00:00
rpcsvc Correct chmod of /usr/include/rpcsvc to match mtree file. 1995-03-18 07:04:23 +00:00
_ctype.h Reviewed by: ache and wollman (long ago) 1995-04-07 11:43:40 +00:00
a.out.h Woops, include machine/exec.h, too. 1994-09-24 21:49:20 +00:00
ar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
assert.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
ctype.h Reviewed by: ache and wollman (long ago) 1995-04-07 11:43:40 +00:00
db.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
dirent.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
disktab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
err.h Declare functions that don't return as having attribute __dead2. 1994-09-08 10:29:15 +00:00
f2c.h Install f2c.h for FORTRAN support. 1994-10-26 18:35:40 +00:00
fnmatch.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
fstab.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
fts.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
glob.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
grp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
histedit.h histedit.h is now installed from here, not from libedit. 1994-08-04 20:49:28 +00:00
kvm.h Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
limits.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
link.h Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
locale.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
Makefile Add a necessary include file for the catgets* routines. 1995-03-30 12:47:56 +00:00
malloc.h By Bruce and Joerg suggestions and by looking into June version 1994-11-17 11:04:49 +00:00
math.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
memory.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
mpool.h Made them idempotent. 1994-08-21 04:03:58 +00:00
ndbm.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
netdb.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
nl_types.h Add a necessary include file for the catgets* routines. 1995-03-30 12:47:56 +00:00
nlist.h Document some of the fields used by the new shlib code. 1994-12-23 22:32:48 +00:00
paths.h Need _PATH_YP for ypserver stuff. 1995-01-31 23:12:53 +00:00
pwd.h Add a couple of extra #defines for special keys to be embedded in the 1995-03-23 00:08:00 +00:00
ranlib.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
regex.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
regexp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
resolv.h get* rework and new bind code 1994-09-25 02:12:49 +00:00
rune.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
runetype.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
setjmp.h Delete vax' (and i386' and `hp300' etc.) namespace pollution. 1994-10-30 00:21:30 +00:00
sgtty.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
signal.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
skey.h Brought it over form 1.1.5 1994-08-20 10:48:18 +00:00
stab.h Made them idempotent. 1994-08-21 04:03:58 +00:00
stddef.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
stdio.h make sys_nerr __const. 1995-03-04 20:57:12 +00:00
stdlib.h Reviewed by: Bruce Evans 1994-11-21 09:25:58 +00:00
strhash.h add strhash.h for libc's new string hashing function. 1995-03-26 10:12:53 +00:00
string.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
strings.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
struct.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
sysexits.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
tar.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
time.h Define CLK_TCK right. 1995-02-08 18:37:14 +00:00
ttyent.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
tzfile.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
unistd.h Make the argument list for the (non-Posix) fchown() consistent with 1995-02-16 11:10:24 +00:00
utime.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
utmp.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
vis.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00