Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jan 1997 14:13:36 +0100
From:      Poul-Henning Kamp <phk@critter.dk.tfs.com>
To:        current@freebsd.org
Subject:   <sys/kernel.h> and MAKE_SET
Message-ID:  <12876.852124416@critter.dk.tfs.com>

next in thread | raw e-mail | index | archive | help

Isn't it wrong to have MAKE_SET() in <sys/kernel.h> ?  What if you want
to use it from userland ?

Is the right solution to have a #ifdef KERNEL section of <sys/kernel.h>
or is it better to move MAKE_SET() and friends to another header, and
in such case, which ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com	    TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12876.852124416>