diff options
-rw-r--r-- | modutils/lsmod.c | 12 | ||||
-rw-r--r-- | networking/dnsd.c | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 55d336bf8..ed194edd6 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
@@ -12,18 +12,6 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "busybox.h" | 14 | #include "busybox.h" |
15 | //#include <stdlib.h> | ||
16 | //#include <stdio.h> | ||
17 | //#include <string.h> | ||
18 | //#include <stddef.h> | ||
19 | //#include <errno.h> | ||
20 | //#include <unistd.h> | ||
21 | //#include <dirent.h> | ||
22 | //#include <ctype.h> | ||
23 | //#include <assert.h> | ||
24 | //#include <getopt.h> | ||
25 | //#include <sys/utsname.h> | ||
26 | //#include <sys/file.h> | ||
27 | 15 | ||
28 | 16 | ||
29 | #ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE | 17 | #ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE |
diff --git a/networking/dnsd.c b/networking/dnsd.c index ec604e0e0..b0e74d770 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c | |||
@@ -203,7 +203,7 @@ static int listen_socket(char *iface_addr, int listen_port) | |||
203 | if (!inet_aton(iface_addr, &a.sin_addr)) | 203 | if (!inet_aton(iface_addr, &a.sin_addr)) |
204 | bb_perror_msg_and_die("bad iface address"); | 204 | bb_perror_msg_and_die("bad iface address"); |
205 | xbind(s, (struct sockaddr *)&a, sizeof(a)); | 205 | xbind(s, (struct sockaddr *)&a, sizeof(a)); |
206 | xlisten(s, 50); /* xlisten? */ | 206 | xlisten(s, 50); |
207 | sprintf(msg, "accepting UDP packets on addr:port %s:%d\n", | 207 | sprintf(msg, "accepting UDP packets on addr:port %s:%d\n", |
208 | iface_addr, (int)listen_port); | 208 | iface_addr, (int)listen_port); |
209 | log_message(LOG_FILE, msg); | 209 | log_message(LOG_FILE, msg); |