Subject: Re: TRUE/FALSE defs
To: der Mouse <>
From: Erik Bertelsen <>
List: current-users
Date: 03/07/1997 08:41:34
On Thu, 6 Mar 1997, der Mouse wrote:

.. >> /usr/include/vm/vm_param.h:80: warning: `TRUE' redefined

.. Is it really appropriate for _any_ of those headers to hijack names as
.. common and universally application-useful as TRUE and FALSE?  (In the
.. case of curses I don't really expect it to go away; there,
.. compatability with existing code is too powerful a force.)
.. 					der Mouse

If anyone gets to change this, please also take a look at PR kern/2931,
where I document that having boolean_t defined in vm/vm_param.h instead
of sys/types.h causes a lot of other parts of the kernel to include
vm/ header files just to get the boolean type and values.

A solution may be to define a global unique way of using
boolean/true/false for all parts of the kernel, possibly while keeping
it hidden from user land applications.

- Erik Bertelsen