diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-23 23:36:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-23 23:36:47 +0000 |
commit | 4e12b1a2a9e68685dff61acaee1e1f6c377d978c (patch) | |
tree | 6d2745f77060d05f843eb186c5227246667d33cb /include | |
parent | b3523b9cd3ba71b82e36466b17aae3d65a53203e (diff) | |
download | busybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.tar.gz busybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.tar.bz2 busybox-w32-4e12b1a2a9e68685dff61acaee1e1f6c377d978c.zip |
libbb: introduce and use xmalloc_ttyname (-32 in bss).
ash: small code shrink
text data bss dec hex filename
793669 504 7524 801697 c3ba1 busybox_old
793659 504 7492 801655 c3b77 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index e6767e39e..e0541a731 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1144,6 +1144,7 @@ const char *nth_string(const char *strings, int n) FAST_FUNC; | |||
1144 | extern void print_login_issue(const char *issue_file, const char *tty) FAST_FUNC; | 1144 | extern void print_login_issue(const char *issue_file, const char *tty) FAST_FUNC; |
1145 | extern void print_login_prompt(void) FAST_FUNC; | 1145 | extern void print_login_prompt(void) FAST_FUNC; |
1146 | 1146 | ||
1147 | char *xmalloc_ttyname(int fd) FAST_FUNC; | ||
1147 | /* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */ | 1148 | /* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */ |
1148 | int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC; | 1149 | int get_terminal_width_height(int fd, unsigned *width, unsigned *height) FAST_FUNC; |
1149 | 1150 | ||