lkml.org 
[lkml]   [2002]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.4-pre6 compile fix for i386/kernel/signal.c

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/
\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.023 / U:3.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site