-static const char * const bb_msg_proto_rev = "protocol revision";
-static const char * const bb_msg_bad_config = "bad %s config file: %s";
-static const char * const bb_msg_small_buffer = "buffer too small";
-static const char * const bb_msg_variable_not_found = "variable: %s not found";
-
-/* Busybox functions */
-static void msg_logger(int pri, const char * fmt, ... )
-{
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = access ("/dev/log", F_OK);
- if (ret == 0) {
- openlog(applet_name, 0, LOG_DAEMON);
- vsyslog( pri , fmt, ap);
- /* Man: A trailing newline is added when needed. */
- closelog();
- }
- /* ENABLE_DEVFSD_VERBOSE is always enabled if msg_logger is used */
- if ((ENABLE_DEVFSD_VERBOSE && ret) || ENABLE_DEBUG) {
- bb_error_msg(fmt, ap);
- }
- va_end(ap);
-}
-
-static void msg_logger_and_die(int pri, const char* fmt, ...)
-{
- va_list ap;
-
- va_start(ap, fmt);
- msg_logger(pri, fmt, ap);
- va_end(ap);
- exit(EXIT_FAILURE);
-}
+static const char bb_msg_proto_rev[] ALIGN1 = "protocol revision";
+static const char bb_msg_bad_config[] ALIGN1 = "bad %s config file: %s";
+static const char bb_msg_small_buffer[] ALIGN1 = "buffer too small";
+static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found";