From 6f347ef9dc540aaea025c0575e586817cd85cc8e Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Sat, 15 Oct 2005 10:23:55 +0000 Subject: common BUFSIZ BSS buffer, small reduce code, data and bss --- libbb/Makefile.in | 3 ++- libbb/messages.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libbb') 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 \ can_not_create_raw_socket.o perm_denied_are_you_root.o \ shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \ securetty_file.o motd_file.o \ - msg_standard_input.o msg_standard_output.o shell_file.o bb_dev_null.o + msg_standard_input.o msg_standard_output.o shell_file.o \ + bb_dev_null.o bb_common_bufsiz1.o LIBBB_MSRC1:=$(srcdir)/xfuncs.c LIBBB_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; const char * const bb_dev_null = "/dev/null"; #endif +#ifdef L_bb_common_bufsiz1 +char bb_common_bufsiz1[BUFSIZ+1]; +#endif -- cgit v1.2.3