[PATCH] 2.5.4-pre6 compile fix for i386/kernel/signal.c

From: Udo A. Steinberg (reality@delusion.de)
Date: Sun Feb 10 2002 - 21:32:43 EST


Hi Linus,

The attached patch fixes a compiler warning in signal.c due to a missing
prototype:

signal.c: In function `do_signal':
signal.c:681: warning: implicit declaration of function `do_coredump'

If binfmts.h should not be included, the prototype should be declared extern.

Regards,
Udo.

--- linux-2.5.4-pre-vanilla/arch/i386/kernel/signal.c Mon Feb 11 03:04:25 2002
+++ linux-2.5.4-pre/arch/i386/kernel/signal.c Mon Feb 11 03:19:47 2002
@@ -20,6 +20,7 @@
 #include <linux/stddef.h>
 #include <linux/tty.h>
 #include <linux/personality.h>
+#include <linux/binfmts.h>
 #include <asm/ucontext.h>
 #include <asm/uaccess.h>
 #include <asm/i387.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:35 EST