aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-15 10:23:55 +0000
commit6f347ef9dc540aaea025c0575e586817cd85cc8e (patch)
tree5fc98f67e92bb2eca75d33940a4f8698bb216f3a /libbb
parent84e7511607600c2c7b9e7c4087897d44cc4668c4 (diff)
downloadbusybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.gz
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.tar.bz2
busybox-w32-6f347ef9dc540aaea025c0575e586817cd85cc8e.zip
common BUFSIZ BSS buffer, small reduce code, data and bss
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Makefile.in3
-rw-r--r--libbb/messages.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 69f8779d2..fb4910018 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -47,7 +47,8 @@ LIBBB_MOBJ0:=full_version.o \
47 can_not_create_raw_socket.o perm_denied_are_you_root.o \ 47 can_not_create_raw_socket.o perm_denied_are_you_root.o \
48 shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \ 48 shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \
49 securetty_file.o motd_file.o \ 49 securetty_file.o motd_file.o \
50 msg_standard_input.o msg_standard_output.o shell_file.o bb_dev_null.o 50 msg_standard_input.o msg_standard_output.o shell_file.o \
51 bb_dev_null.o bb_common_bufsiz1.o
51 52
52LIBBB_MSRC1:=$(srcdir)/xfuncs.c 53LIBBB_MSRC1:=$(srcdir)/xfuncs.c
53LIBBB_MOBJ1:=xmalloc.o xrealloc.o xcalloc.o xstrdup.o xstrndup.o \ 54LIBBB_MOBJ1:=xmalloc.o xrealloc.o xcalloc.o xstrdup.o xstrndup.o \
diff --git a/libbb/messages.c b/libbb/messages.c
index 9a77aa64b..e11dddc50 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -101,3 +101,6 @@ const char * const bb_default_login_shell = LIBBB_DEFAULT_LOGIN_SHELL;
101const char * const bb_dev_null = "/dev/null"; 101const char * const bb_dev_null = "/dev/null";
102#endif 102#endif
103 103
104#ifdef L_bb_common_bufsiz1
105char bb_common_bufsiz1[BUFSIZ+1];
106#endif