aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-21 20:34:21 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-21 20:34:21 +0000
commit4a1538f7c5e03f952e6d2817ef33a223fc20d357 (patch)
tree9736975246e991e626e025ab1c98d9f5536e9007 /include
parent648259f0bae6bd44971be3acf50e5ed6f0d66c74 (diff)
downloadbusybox-w32-4a1538f7c5e03f952e6d2817ef33a223fc20d357.tar.gz
busybox-w32-4a1538f7c5e03f952e6d2817ef33a223fc20d357.tar.bz2
busybox-w32-4a1538f7c5e03f952e6d2817ef33a223fc20d357.zip
bb_INET_default[] is really just a const "default",
nothing INET-specific git-svn-id: svn://busybox.net/trunk/busybox@16612 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 680d441d2..1c16f6ca2 100644
--- a/include/inet_common.h
+++ b/include/inet_common.h
@@ -14,16 +14,12 @@
14#include <sys/socket.h> 14#include <sys/socket.h>
15#include "platform.h" 15#include "platform.h"
16 16
17
18extern const char bb_INET_default[]; /* = "default" */
19
20/* hostfirst!=0 If we expect this to be a hostname, 17/* hostfirst!=0 If we expect this to be a hostname,
21 try hostname database first 18 try hostname database first
22 */ 19 */
23extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst); 20extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst);
24 21
25 22/* numeric: & 0x8000: "default" instead of "*",
26/* numeric: & 0x8000: default instead of *,
27 * & 0x4000: host instead of net, 23 * & 0x4000: host instead of net,
28 * & 0x0fff: don't resolve 24 * & 0x0fff: don't resolve
29 */ 25 */
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[];
604extern const char bb_msg_standard_input[]; 604extern const char bb_msg_standard_input[];
605extern const char bb_msg_standard_output[]; 605extern const char bb_msg_standard_output[];
606 606
607extern const char bb_str_default[];
608
607extern const char bb_path_mtab_file[]; 609extern const char bb_path_mtab_file[];
608extern const char bb_path_nologin_file[]; 610extern const char bb_path_nologin_file[];
609extern const char bb_path_passwd_file[]; 611extern const char bb_path_passwd_file[];