Bruce Evans 18c34920f8 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
..
1994-09-25 02:12:49 +00:00
1994-09-24 21:49:20 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-10-26 18:35:40 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-08-21 04:03:58 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1995-01-31 23:12:53 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-09-25 02:12:49 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-08-20 10:48:18 +00:00
1994-08-21 04:03:58 +00:00
1994-05-24 09:57:34 +00:00
1995-03-04 20:57:12 +00:00
1994-11-21 09:25:58 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1995-02-08 18:37:14 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00
1994-05-24 09:57:34 +00:00