From 7ca3921e5e8aa64533d4d7a678046676ae6574ec Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 21 Nov 2006 20:34:21 +0000 Subject: bb_INET_default[] is really just a const "default", nothing INET-specific --- include/inet_common.h | 6 +----- include/libbb.h | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/inet_common.h b/include/inet_common.h index 680d441d2..1c16f6ca2 100644 --- a/include/inet_common.h +++ b/include/inet_common.h @@ -14,16 +14,12 @@ #include #include "platform.h" - -extern const char bb_INET_default[]; /* = "default" */ - /* hostfirst!=0 If we expect this to be a hostname, try hostname database first */ extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst); - -/* numeric: & 0x8000: default instead of *, +/* numeric: & 0x8000: "default" instead of "*", * & 0x4000: host instead of net, * & 0x0fff: don't resolve */ diff --git a/include/libbb.h b/include/libbb.h index f574f9b5f..bec3ce11c 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -604,6 +604,8 @@ extern const char bb_msg_invalid_arg[]; extern const char bb_msg_standard_input[]; extern const char bb_msg_standard_output[]; +extern const char bb_str_default[]; + extern const char bb_path_mtab_file[]; extern const char bb_path_nologin_file[]; extern const char bb_path_passwd_file[]; -- cgit v1.2.3