* [PATCH] kill warning
@ 2002-12-06 13:15 Rudmer van Dijk
0 siblings, 0 replies; only message in thread
From: Rudmer van Dijk @ 2002-12-06 13:15 UTC (permalink / raw)
To: linux-kernel
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() */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-06 13:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06 13:15 [PATCH] kill warning Rudmer van Dijk
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®