summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-31 18:57:56 +0000
committerBernhard Reutner-Fischer2006-05-31 18:57:56 +0000
commit9a5686b605a4dfe2f24660940e309bb444fe5f3f (patch)
treed46b2ed5c48539e4c10b55aeb8ef2a3d947799b6
parentdac033e98c2e552818fca413528d1f6615ef0be8 (diff)
downloadbusybox-9a5686b605a4dfe2f24660940e309bb444fe5f3f.zip
busybox-9a5686b605a4dfe2f24660940e309bb444fe5f3f.tar.gz
- fix IMA compile error i introduced when adding this untested snippet.
-rw-r--r--init/init_shared.c1
-rw-r--r--init/init_shared.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/init/init_shared.c b/init/init_shared.c
index 190d0a3..722d57c 100644
--- a/init/init_shared.c
+++ b/init/init_shared.c
@@ -17,6 +17,7 @@
#include "busybox.h"
#include "init_shared.h"
+const char * const init_sending_format = "Sending SIG%s to all processes.";
#ifndef CONFIG_INIT
const char * const bb_shutdown_format = "\r%s\n";
int bb_shutdown_system(unsigned long magic)
diff --git a/init/init_shared.h b/init/init_shared.h
index 4431a03..0f3fe5b 100644
--- a/init/init_shared.h
+++ b/init/init_shared.h
@@ -1,4 +1,4 @@
extern int kill_init(int sig);
extern int bb_shutdown_system(unsigned long magic);
-const char * const init_sending_format = "Sending SIG%s to all processes.";
+extern const char * const init_sending_format;