summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/libbb.h1
-rw-r--r--libbb/messages.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 21af568..fde58b0 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -282,5 +282,6 @@ extern const char * const dash_dash_help;
extern const char * const write_error;
extern const char * const too_few_args;
extern const char * const name_longer_than_foo;
+extern const char * const unknown;
#endif /* __LIBBB_H__ */
diff --git a/libbb/messages.c b/libbb/messages.c
index 99c2bc9..910cb8f 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -58,4 +58,7 @@
#ifdef L_name_longer_than_foo
const char * const name_longer_than_foo = "Names longer than %d chars not supported.";
#endif
+#ifdef L_unknown
+ const char * const unknown = "(unknown)";
+#endif