diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-21 20:34:21 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-21 20:34:21 +0000 |
| commit | 7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch) | |
| tree | 9736975246e991e626e025ab1c98d9f5536e9007 /include | |
| parent | 5096246ffb22b46b7d9e9debf035112a11d339b3 (diff) | |
| download | busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.bz2 busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip | |
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'include')
| -rw-r--r-- | include/inet_common.h | 6 | ||||
| -rw-r--r-- | include/libbb.h | 2 |
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 | |||
| 18 | extern 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 | */ |
| 23 | extern int INET_resolve(const char *name, struct sockaddr_in *s_in, int hostfirst); | 20 | extern 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[]; | |||
| 604 | extern const char bb_msg_standard_input[]; | 604 | extern const char bb_msg_standard_input[]; |
| 605 | extern const char bb_msg_standard_output[]; | 605 | extern const char bb_msg_standard_output[]; |
| 606 | 606 | ||
| 607 | extern const char bb_str_default[]; | ||
| 608 | |||
| 607 | extern const char bb_path_mtab_file[]; | 609 | extern const char bb_path_mtab_file[]; |
| 608 | extern const char bb_path_nologin_file[]; | 610 | extern const char bb_path_nologin_file[]; |
| 609 | extern const char bb_path_passwd_file[]; | 611 | extern const char bb_path_passwd_file[]; |
