diff options
author | Denis Vlasenko | 2007-01-22 14:12:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-22 14:12:08 +0000 |
commit | 703e20235aa0624d3ff4335c1e86edaa6e21efe2 (patch) | |
tree | 49e8451efad93b75c0be74ee553d3b3f8c04a25d /libbb/messages.c | |
parent | 6cd2d2bcba37a13d0d73326dd7bca64bbccce4f8 (diff) | |
download | busybox-703e20235aa0624d3ff4335c1e86edaa6e21efe2.zip busybox-703e20235aa0624d3ff4335c1e86edaa6e21efe2.tar.gz |
cleanups: unnecessary casts, unified const_1, eliminate cross-.c file
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED",
removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
Diffstat (limited to 'libbb/messages.c')
-rw-r--r-- | libbb/messages.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 6c3d2f6..105e4ce 100644 --- a/libbb/messages.c +++ b/libbb/messages.c @@ -40,6 +40,9 @@ const char bb_path_motd_file[] = "/etc/motd"; const char bb_default_login_shell[] = LIBBB_DEFAULT_LOGIN_SHELL; const char bb_dev_null[] = "/dev/null"; +const int const_int_0; +const int const_int_1 = 1; + #include <utmp.h> /* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */ const char bb_path_wtmp_file[] = |