mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* why so many unexported headers checking __KERNEL__?
@ 2008-03-23  6:31 Robert P. J. Day
  2008-03-26 12:08 ` David Woodhouse
  0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2008-03-23  6:31 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  as an unintended side effect of checking for proper exporting to
user space and unifdef'ing, i noticed that there are literally
hundreds of kernel header files that check the value of __KERNEL__ in
some way, but are never exported to user space.  what's the point of
that?  thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-26 13:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-23  6:31 why so many unexported headers checking __KERNEL__? Robert P. J. Day
2008-03-26 12:08 ` David Woodhouse
2008-03-26 12:53   ` Robert P. J. Day
2008-03-26 13:10     ` David Woodhouse
2008-03-26 13:16       ` Robert P. J. Day
2008-03-26 13:19         ` David Woodhouse
2008-03-26 13:23           ` Robert P. J. Day
2008-03-26 13:37           ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®