]> err.no Git - linux-2.6/commitdiff
[MIPS] don't leak setup_early_printk() in userspace header
authorAdrian Bunk <bunk@kernel.org>
Wed, 16 Jul 2008 16:26:15 +0000 (19:26 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:19 +0000 (14:38 +0100)
Our userspace headers shouldn't contain prototypes of in-kernel
functions.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/setup.h

index 883f59bfa097f26f437c465596b5ab26d956c0db..e600cedda9762dac44ea7975f8bdab18d4ad2ba0 100644 (file)
@@ -3,6 +3,8 @@
 
 #define COMMAND_LINE_SIZE      256
 
+#ifdef  __KERNEL__
 extern void setup_early_printk(void);
+#endif /* __KERNEL__ */
 
 #endif /* __SETUP_H */