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

wli
2002-12-05T10:47:17Z

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>