aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-08-15 21:37:55 +0000
committerRob Landley <rob@landley.net>2006-08-15 21:37:55 +0000
commit4640b05afd2220ccf7f385a9e8dcc18362196957 (patch)
tree81981591b155931bdb92c4b599ae19970600d202
parenta299efb7b0baea494bf1cb4f050879c29240e5c4 (diff)
downloadbusybox-4640b05afd2220ccf7f385a9e8dcc18362196957.tar.gz
Bernhard Fischer pointed out some leftover debris needing cleanup.
-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 @@
*/
#include "busybox.h"
-//#include <stdlib.h>
-//#include <stdio.h>
-//#include <string.h>
-//#include <stddef.h>
-//#include <errno.h>
-//#include <unistd.h>
-//#include <dirent.h>
-//#include <ctype.h>
-//#include <assert.h>
-//#include <getopt.h>
-//#include <sys/utsname.h>
-//#include <sys/file.h>
#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)
if (!inet_aton(iface_addr, &a.sin_addr))
bb_perror_msg_and_die("bad iface address");
xbind(s, (struct sockaddr *)&a, sizeof(a));
- xlisten(s, 50); /* xlisten? */
+ xlisten(s, 50);
sprintf(msg, "accepting UDP packets on addr:port %s:%d\n",
iface_addr, (int)listen_port);
log_message(LOG_FILE, msg);