summaryrefslogtreecommitdiff
path: root/src/server/httpd.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:22:15 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:22:15 +0000
commit164cb6d04eb582207575c4b8f42c8d1eb4aa2480 (patch)
treeb4710725f3765b4df9c3ac07f76427fedb8fd617 /src/server/httpd.c
parent7c7fed0283e5c6e434de94af443218ef78175e87 (diff)
downloadopenocd+libswd-164cb6d04eb582207575c4b8f42c8d1eb4aa2480.tar.gz
openocd+libswd-164cb6d04eb582207575c4b8f42c8d1eb4aa2480.tar.bz2
openocd+libswd-164cb6d04eb582207575c4b8f42c8d1eb4aa2480.tar.xz
openocd+libswd-164cb6d04eb582207575c4b8f42c8d1eb4aa2480.zip
Audit and eliminate redundant #include directives from src/server.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1709 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server/httpd.c')
-rw-r--r--src/server/httpd.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c
index 6a4302f9..6d985153 100644
--- a/src/server/httpd.c
+++ b/src/server/httpd.c
@@ -27,30 +27,13 @@
#include "config.h"
#endif
-#include "replacements.h"
-
-#include "server.h"
-
-#include "log.h"
#include "telnet_server.h"
#include "target.h"
-#include <command.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include <microhttpd.h>
#include <pthread.h>
#include <signal.h>
-#include <sys/select.h>
-#include <sys/socket.h>
-#include <microhttpd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
#define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>"
int loadFile(const char *name, void **data, size_t *len);