[warnings] [3/8] fix duplicate decls in swsusp

From: wli@holomorphy.com
Date: Thu Dec 05 2002 - 05:52:59 EST


Remove the reboot.h declaration of swsusp functions that clash
with the no-op inline. Already acked by pavel.

===== include/linux/reboot.h 1.2 vs edited =====
--- 1.2/include/linux/reboot.h Thu May 2 17:21:36 2002
+++ edited/include/linux/reboot.h Thu Dec 5 01:05:34 2002
@@ -48,13 +48,6 @@
 extern void machine_halt(void);
 extern void machine_power_off(void);
 
-/*
- * Architecture-independent suspend facility
- */
-
-extern void software_suspend(void);
-extern unsigned char software_suspend_enabled;
-
 #endif
 
 #endif /* _LINUX_REBOOT_H */
===== kernel/sys.c 1.36 vs edited =====
--- 1.36/kernel/sys.c Wed Nov 27 15:13:29 2002
+++ edited/kernel/sys.c Thu Dec 5 01:06:10 2002
@@ -21,6 +21,7 @@
 #include <linux/times.h>
 #include <linux/security.h>
 #include <linux/dcookies.h>
+#include <linux/suspend.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>
-
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:22 EST