diff options
author | Denis Vlasenko | 2007-06-13 12:27:17 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-13 12:27:17 +0000 |
commit | ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0 (patch) | |
tree | 8ccf1f528aafeeb00368c41be74900db86d43d14 /include | |
parent | b51fd3525e48c79ef9e854dd357a9cdfdfeef72b (diff) | |
download | busybox-ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0.zip busybox-ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0.tar.gz |
*: BB_BANNER -> bb_banner (it is not a const or #define)!
correct_password: explain in detail why it is ok to use bb_banner
fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one
Marginal size difference:
text data bss dec hex filename
679119 2700 15632 697451 aa46b busybox_old
679091 2700 15632 697423 aa44f busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 5aa95ea..c0c417c 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -927,9 +927,8 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */ #define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") extern const struct bb_applet *current_applet; extern const char *applet_name; -extern const char BB_BANNER[]; - -extern const char bb_msg_full_version[]; +/* "BusyBox vN.N.N (timestamp or extra_vestion)" */ +extern const char bb_banner[]; extern const char bb_msg_memory_exhausted[]; extern const char bb_msg_invalid_date[]; extern const char bb_msg_read_error[]; |