Re: linux headers and C++

Steve Dodd (dirk@loth.demon.co.uk)
Fri, 2 Jul 1999 13:22:33 +0100


On Thu, Jul 01, 1999 at 08:38:49PM -0400, Tom Leete wrote:

> Just use this:
>
> #include <signal.h>
>
> instead. <linux/signal.h> is a minefield of gotchas. For internal use only.

He's writing a kernel module. Including libc headers in a kernel module
would be *really* weird[1].

S.

[1] And stdarg.h is a C compiler header, not a libc one.

-- 
Death is only a state of mind.

Only it doesn't leave you much time to think about anything else.

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