aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-15 21:37:55 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-08-15 21:37:55 +0000
commit874ef5c7eaee9ecfd2890576d3671fad73dbadeb (patch)
tree81981591b155931bdb92c4b599ae19970600d202
parentdc51c220218fc9fef6c6f2e13ed8236636faf3d9 (diff)
downloadbusybox-w32-874ef5c7eaee9ecfd2890576d3671fad73dbadeb.tar.gz
busybox-w32-874ef5c7eaee9ecfd2890576d3671fad73dbadeb.tar.bz2
busybox-w32-874ef5c7eaee9ecfd2890576d3671fad73dbadeb.zip
Bernhard Fischer pointed out some leftover debris needing cleanup.
git-svn-id: svn://busybox.net/trunk/busybox@15801 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--modutils/lsmod.c12
-rw-r--r--networking/dnsd.c2
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);