aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
commite324184c0509cc0db168ce29546e1b52800a79c6 (patch)
tree9d4f18b3cc1ab715b6ff91cc9e3e942d11dfc51f /libbb
parent5f1b149d541ebba7cab841cb647f113248f9fb8f (diff)
downloadbusybox-w32-e324184c0509cc0db168ce29546e1b52800a79c6.tar.gz
busybox-w32-e324184c0509cc0db168ce29546e1b52800a79c6.tar.bz2
busybox-w32-e324184c0509cc0db168ce29546e1b52800a79c6.zip
s/#ifdef CONFIG_/#if ENABLE_/g
Diffstat (limited to 'libbb')
-rw-r--r--libbb/create_icmp6_socket.c8
-rw-r--r--libbb/create_icmp_socket.c6
-rw-r--r--libbb/inet_common.c2
-rw-r--r--libbb/xgethostbyname.c2
4 files changed, 9 insertions, 9 deletions
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c
index b90f3e9fd..51899cdc5 100644
--- a/libbb/create_icmp6_socket.c
+++ b/libbb/create_icmp6_socket.c
@@ -7,12 +7,12 @@
7 * 7 *
8 */ 8 */
9 9
10#include <sys/types.h> 10//#include <sys/types.h>
11#include <netdb.h> 11//#include <netdb.h>
12#include <sys/socket.h> 12//#include <sys/socket.h>
13#include "libbb.h" 13#include "libbb.h"
14 14
15#ifdef CONFIG_FEATURE_IPV6 15#if ENABLE_FEATURE_IPV6
16int create_icmp6_socket(void) 16int create_icmp6_socket(void)
17{ 17{
18 struct protoent *proto; 18 struct protoent *proto;
diff --git a/libbb/create_icmp_socket.c b/libbb/create_icmp_socket.c
index dbd4769f6..3a4655885 100644
--- a/libbb/create_icmp_socket.c
+++ b/libbb/create_icmp_socket.c
@@ -7,9 +7,9 @@
7 * 7 *
8 */ 8 */
9 9
10#include <sys/types.h> 10//#include <sys/types.h>
11#include <netdb.h> 11//#include <netdb.h>
12#include <sys/socket.h> 12//#include <sys/socket.h>
13#include "libbb.h" 13#include "libbb.h"
14 14
15int create_icmp_socket(void) 15int create_icmp_socket(void)
diff --git a/libbb/inet_common.c b/libbb/inet_common.c
index ec3c3f9bb..7e799b5e1 100644
--- a/libbb/inet_common.c
+++ b/libbb/inet_common.c
@@ -164,7 +164,7 @@ char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask)
164 return name; 164 return name;
165} 165}
166 166
167#ifdef CONFIG_FEATURE_IPV6 167#if ENABLE_FEATURE_IPV6
168 168
169int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) 169int INET6_resolve(const char *name, struct sockaddr_in6 *sin6)
170{ 170{
diff --git a/libbb/xgethostbyname.c b/libbb/xgethostbyname.c
index c3158c339..3bb522d80 100644
--- a/libbb/xgethostbyname.c
+++ b/libbb/xgethostbyname.c
@@ -7,7 +7,7 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9 9
10#include <netdb.h> 10//#include <netdb.h>
11#include "libbb.h" 11#include "libbb.h"
12 12
13struct hostent *xgethostbyname(const char *name) 13struct hostent *xgethostbyname(const char *name)