mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rudmer van Dijk <rudmer@legolas.dynup.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] kill warning
Date: Fri, 06 Dec 2002 14:15:55 +0100	[thread overview]
Message-ID: <5.2.0.9.0.20021206141312.00a20b70@mail.science.uva.nl> (raw)

Hi,

Following patch is needed to kill this warning:
   CC      drivers/char/sysrq.o
In file included from drivers/char/sysrq.c:30:
include/linux/suspend.h:76: warning: static declaration for 
`software_suspend' follows non-static

	Rudmer

# diff -u linux-2.5.50-bk5/drivers/char/sysrq.c.orig 
linux-2.5.50-bk5/drivers/char/sysrq.c
--- linux-2.5.50-bk5/drivers/char/sysrq.c.orig  2002-12-06 
14:11:50.000000000 +0100
+++ linux-2.5.50-bk5/drivers/char/sysrq.c       2002-12-06 
14:09:00.000000000 +0100
@@ -21,13 +21,13 @@
  #include <linux/mount.h>
  #include <linux/kdev_t.h>
  #include <linux/major.h>
+#include <linux/suspend.h>
  #include <linux/reboot.h>
  #include <linux/sysrq.h>
  #include <linux/kbd_kern.h>
  #include <linux/quotaops.h>
  #include <linux/smp_lock.h>
  #include <linux/module.h>
-#include <linux/suspend.h>
  #include <linux/writeback.h>
  #include <linux/buffer_head.h>         /* for fsync_bdev() */


                 reply	other threads:[~2002-12-06 13:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5.2.0.9.0.20021206141312.00a20b70@mail.science.uva.nl \
    --to=rudmer@legolas.dynup.net \
    --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®