lkml.org 
[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: pre12 fails to compile: wakeup_bdflush issues
From
   From: Ben Greear <greearb@candelatech.com>
Date: Thu, 20 Sep 2001 10:47:20 -0700

I get this error:

sysrq.c:35: conflicting types for 'wakeup_bdflush'
/root/linux/include/linux/fs.h:1347: previous declaration of 'wakeup_bdflush'

One says it takes a void argument, the other an int......

The fix is simple:

--- drivers/char/sysrq.c.~1~ Wed Sep 19 14:30:53 2001
+++ drivers/char/sysrq.c Thu Sep 20 11:29:30 2001
@@ -32,7 +32,6 @@

#include <asm/ptrace.h>

-extern void wakeup_bdflush(int);
extern void reset_vc(unsigned int);
extern struct list_head super_blocks;

-
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:03    [W:0.074 / U:2.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site