diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-04 04:10:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-04 04:10:17 +0000 |
commit | bfc3d82256c45fb1e6e04ca85fac8a65b34b72a1 (patch) | |
tree | efe5bed86f389cec7e7e4f73b12b58783327e4b2 /include | |
parent | 681023650e69f6e4fa959c5c6f0480d4a0edf906 (diff) | |
download | busybox-w32-bfc3d82256c45fb1e6e04ca85fac8a65b34b72a1.tar.gz busybox-w32-bfc3d82256c45fb1e6e04ca85fac8a65b34b72a1.tar.bz2 busybox-w32-bfc3d82256c45fb1e6e04ca85fac8a65b34b72a1.zip |
ifconfig: code shrink
adjtimex: code shrink
libbb: move nth_string function into libbb
hdparm: nth_string was here
text data bss dec hex filename
730013 10334 12032 752379 b7afb busybox_old
730093 10134 12032 752259 b7a83 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 71f439fa9..77c678cee 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -846,10 +846,13 @@ extern int correct_password(const struct passwd *pw); | |||
846 | /* Returns a ptr to static storage */ | 846 | /* Returns a ptr to static storage */ |
847 | extern char *pw_encrypt(const char *clear, const char *salt); | 847 | extern char *pw_encrypt(const char *clear, const char *salt); |
848 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); | 848 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); |
849 | extern int index_in_str_array(const char *const string_array[], const char *key); | 849 | |
850 | extern int index_in_strings(const char *strings, const char *key); | 850 | int index_in_str_array(const char *const string_array[], const char *key); |
851 | extern int index_in_substr_array(const char *const string_array[], const char *key); | 851 | int index_in_strings(const char *strings, const char *key); |
852 | extern int index_in_substrings(const char *strings, const char *key); | 852 | int index_in_substr_array(const char *const string_array[], const char *key); |
853 | int index_in_substrings(const char *strings, const char *key); | ||
854 | const char *nth_string(const char *strings, int n); | ||
855 | |||
853 | extern void print_login_issue(const char *issue_file, const char *tty); | 856 | extern void print_login_issue(const char *issue_file, const char *tty); |
854 | extern void print_login_prompt(void); | 857 | extern void print_login_prompt(void); |
855 | 858 | ||