From: William Lee Irwin III <wli@holomorphy.com>
To: kernel-janitor-discuss@lists.sourceforge.net
Cc: pavel@suse.cz, linux-kernel@vger.kernel.org
Subject: fix swsusp warning
Date: Fri, 15 Nov 2002 03:55:58 -0800 [thread overview]
Message-ID: <20021115115558.GU22031@holomorphy.com> (raw)
This fixes a warning caused by conflicting static vs. extern wrt. swsusp.
include/linux/reboot.h | 7 -------
kernel/sys.c | 1 +
2 files changed, 1 insertion(+), 7 deletions(-)
diff -urpN cleanup-2.5.47-3/include/linux/reboot.h cleanup-2.5.47-4/include/linux/reboot.h
--- cleanup-2.5.47-3/include/linux/reboot.h 2002-11-10 19:28:33.000000000 -0800
+++ cleanup-2.5.47-4/include/linux/reboot.h 2002-11-15 03:10:22.000000000 -0800
@@ -48,13 +48,6 @@ extern void machine_restart(char *cmd);
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 */
diff -urpN cleanup-2.5.47-3/kernel/sys.c cleanup-2.5.47-4/kernel/sys.c
--- cleanup-2.5.47-3/kernel/sys.c 2002-11-14 23:42:02.000000000 -0800
+++ cleanup-2.5.47-4/kernel/sys.c 2002-11-15 03:10:35.000000000 -0800
@@ -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>
reply other threads:[~2002-11-15 11:52 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=20021115115558.GU22031@holomorphy.com \
--to=wli@holomorphy.com \
--cc=kernel-janitor-discuss@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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