summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-21 20:34:21 +0000
committerDenis Vlasenko2006-11-21 20:34:21 +0000
commit7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch)
tree9736975246e991e626e025ab1c98d9f5536e9007 /include
parent5096246ffb22b46b7d9e9debf035112a11d339b3 (diff)
downloadbusybox-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip
busybox-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'include')
-rw-r--r--include/inet_common.h6
-rw-r--r--include/libbb.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/include/inet_common.h b/include/inet_common.h
index 680d441..1c16f6c 100644
--- a/include/inet_common.h
+++ b/include/inet_common.h
@@ -14,16 +14,12 @@
#include <sys/socket.h>
#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 f574f9b..bec3ce1 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[];