When compiling the `dict' port, one gets:

    In file included from /usr/include/machine/signal.h:54,
                     from /usr/include/sys/signal.h:178,
                     from /usr/include/signal.h:44,
                     from dict.h:33,
                     from clientparse.y:25:
    /usr/include/machine/trap.h:105: warning: `T_USER' redefined

This seems very wrong.  Can't we rename "T_USER" in the kernel to
"_T_USER", or wrap it in _KERNEL?  The comment in machine/signal.h(x86)
says:

    #include <machine/trap.h>   /* codes for SIGILL, SIGFPE */

but does that mean we must expose the entire contents of trap.h to
userland?  The problem is T_ is very common in lex source.

-- 
-- David  ([EMAIL PROTECTED])

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to