Re: PATCH: linux-2.4.0-test12pre8/include/linux/module.h breaks sysklogd compilation

From: Frank van Maarseveen (F.vanMaarseveen@inter.NL.net)
Date: Tue Dec 12 2000 - 15:38:50 EST


On Mon, Dec 11, 2000 at 07:53:05PM -0600, Peter Samuelson wrote:
>
> [Mohammad A. Haque]
> > Wasn't there discussion that user space apps shouldn't include kernel
> > headers?
>
> Oh, it's been discussed, many times. Here is my executive summary of
> why nobody needs to use kernel headers in userspace programs, *EVER*:
Oh, sounds reasonable. But:

Do the maintainers of strace, lm_sensors, the wacom input device in XFree
know this? (just to name a few)

The unanswered question remains:

$ cat `find linux/include/{linux,asm}/. -type f` |grep '^#ifdef __KERNEL__'|wc
    246 514 4537

why is this?

Either: strip it or maintain it.

-- 
Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:25 EST