summaryrefslogtreecommitdiff
path: root/networking/fakeidentd.c
diff options
context:
space:
mode:
authorRob Landley2006-06-05 17:35:24 +0000
committerRob Landley2006-06-05 17:35:24 +0000
commit362dc2bf3314b3e01d0445acbabaebedb3a94131 (patch)
tree7f8847740d40d26316019a033879e1cfcad708d5 /networking/fakeidentd.c
parent12d87550a3b7b85d2c03e45261e059855db04d1b (diff)
downloadbusybox-362dc2bf3314b3e01d0445acbabaebedb3a94131.zip
busybox-362dc2bf3314b3e01d0445acbabaebedb3a94131.tar.gz
Header cleanup on two more networking files (move libbb.h to the top and
remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em.
Diffstat (limited to 'networking/fakeidentd.c')
-rw-r--r--networking/fakeidentd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c
index d3aa3ce..b097d99 100644
--- a/networking/fakeidentd.c
+++ b/networking/fakeidentd.c
@@ -9,28 +9,22 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "busybox.h"
+
#include <unistd.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/syslog.h>
#include <pwd.h>
-#include <netdb.h>
#include <sys/syslog.h>
-#include <sys/types.h>
#include <time.h>
#include <sys/socket.h>
-#include <netinet/in.h>
#include <errno.h>
-#include <arpa/inet.h>
#include <sys/uio.h>
-#include "busybox.h"
#define IDENT_PORT 113
#define MAXCONNS 20