[PATCH] kill warning

From: Rudmer van Dijk (rudmer@legolas.dynup.net)
Date: Fri Dec 06 2002 - 08:15:55 EST


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() */

-
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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:26 EST