mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: greearb@candelatech.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: pre12 fails to compile: wakeup_bdflush issues
Date: Thu, 20 Sep 2001 11:30:37 -0700 (PDT)	[thread overview]
Message-ID: <20010920.113037.59650292.davem@redhat.com> (raw)
In-Reply-To: <3BAA2BA8.34873B27@candelatech.com>
In-Reply-To: <3BAA2BA8.34873B27@candelatech.com>

   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;
 

  reply	other threads:[~2001-09-20 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-20 17:47 Ben Greear
2001-09-20 18:30 ` David S. Miller [this message]
2001-09-24  6:37   ` ddkilzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010920.113037.59650292.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®