[PATCH 6/6] Hibernation: Move extern definition to header file
From: Rafael J. Wysocki
Date: Mon Nov 26 2007 - 18:19:41 EST
From: Rafael J. Wysocki <rjw@xxxxxxx>
Move the extern definition of resume_file[] from kernel/power/swap.c
to kernel/power/power.h .
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
---
kernel/power/power.h | 2 ++
kernel/power/swap.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/kernel/power/power.h
===================================================================
--- linux-2.6.orig/kernel/power/power.h
+++ linux-2.6/kernel/power/power.h
@@ -207,3 +207,5 @@ enum {
#define TEST_MAX (__TEST_AFTER_LAST - 1)
extern int pm_test_level;
+
+extern char resume_file[];
Index: linux-2.6/kernel/power/swap.c
===================================================================
--- linux-2.6.orig/kernel/power/swap.c
+++ linux-2.6/kernel/power/swap.c
@@ -28,8 +28,6 @@
#include "power.h"
-extern char resume_file[];
-
#define SWSUSP_SIG "S1SUSPEND"
struct swsusp_header {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/