Make cin be static
[oweals/busybox.git] / messages.c
index 2f8aab5155ac3dd72a7eae037976a0cf9b1c2943..c06a87f01cf4853f766cdeab767be3b532513057 100644 (file)
@@ -36,7 +36,7 @@
 //Then just use the string memory_exhausted when it is needed.
 //
 
-#include "internal.h"
+#include "busybox.h"
 #ifndef _BB_MESSAGES_C
 #define _BB_MESSAGES_C
 
 #endif
 
 
+#if defined bb_need_full_version || ! defined BB_DECLARE_EXTERN
+       BB_DEF_MESSAGE(full_version,
+        "BusyBox v" BB_VER " (" BB_BT ") multi-call binary -- GPL2")
+#endif
 #if defined bb_need_name_too_long || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(name_too_long, "%s: file name too long\n")
+       BB_DEF_MESSAGE(name_too_long, "file name too long\n")
 #endif
 #if defined bb_need_omitting_directory || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(omitting_directory, "%s: %s: omitting directory\n")
+       BB_DEF_MESSAGE(omitting_directory, "%s: omitting directory\n")
 #endif
 #if defined bb_need_not_a_directory || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(not_a_directory, "%s: %s: not a directory\n")
+       BB_DEF_MESSAGE(not_a_directory, "%s: not a directory\n")
 #endif
 #if defined bb_need_memory_exhausted || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(memory_exhausted, "%s: memory exhausted\n")
+       BB_DEF_MESSAGE(memory_exhausted, "memory exhausted\n")
 #endif
 #if defined bb_need_invalid_date || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(invalid_date, "%s: invalid date `%s'\n")
+       BB_DEF_MESSAGE(invalid_date, "invalid date `%s'\n")
 #endif
 #if defined bb_need_invalid_option || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(invalid_option, "%s: invalid option -- %c\n")
+       BB_DEF_MESSAGE(invalid_option, "invalid option -- %c\n")
 #endif
 #if defined bb_need_io_error || ! defined BB_DECLARE_EXTERN
        BB_DEF_MESSAGE(io_error, "%s: input/output error -- %s\n")
 #if defined bb_need_write_error || ! defined BB_DECLARE_EXTERN
        BB_DEF_MESSAGE(write_error, "Write Error\n")
 #endif
-
-
-
+#if defined bb_need_too_few_args || ! defined BB_DECLARE_EXTERN
+       BB_DEF_MESSAGE(too_few_args, "too few arguments\n")
+#endif
+#if defined bb_need_name_longer_than_foo || ! defined BB_DECLARE_EXTERN
+       BB_DEF_MESSAGE(name_longer_than_foo, "Names longer than %d chars not supported.\n")
+#endif
 
 
 #endif /* _BB_MESSAGES_C */