Commit 2ac54a04 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove unncessary #includes

parent b18e8d0c
......@@ -31,20 +31,16 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "vtc.h"
#include "libvarnish.h"
#include "vev.h"
#include "vtc.h"
#ifndef HAVE_SRANDOMDEV
#include "compat/srandomdev.h"
......
......@@ -30,7 +30,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
......
......@@ -28,20 +28,18 @@
#include "config.h"
#include <poll.h>
#include <string.h>
#include <stdio.h>
#include <poll.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "libvarnish.h"
#include "vct.h"
#include "libvarnish.h"
#include "vtc.h"
#include "vgz.h"
......
......@@ -30,16 +30,13 @@
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdarg.h>
#include "libvarnish.h"
#include "vas.h"
#include "vtc.h"
#include "libvarnish.h"
static pthread_mutex_t vtclog_mtx;
static char *vtclog_buf;
static unsigned vtclog_left;
......
......@@ -31,8 +31,6 @@
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
......@@ -40,11 +38,11 @@
#include <sys/types.h>
#include <sys/wait.h>
#include "vtc.h"
#include "libvarnish.h"
#include "vev.h"
#include "vtc.h"
#ifndef HAVE_SRANDOMDEV
#include "compat/srandomdev.h"
#endif
......
......@@ -35,7 +35,6 @@
#include "vtc.h"
#include "miniobj.h"
#include "libvarnish.h"
struct sema {
......
......@@ -31,7 +31,6 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
......@@ -39,8 +38,8 @@
#include "vtc.h"
#include "vss.h"
#include "libvarnish.h"
#include "vss.h"
struct server {
unsigned magic;
......
......@@ -34,7 +34,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <poll.h>
#include <inttypes.h>
......@@ -42,13 +41,14 @@
#include <sys/wait.h>
#include <sys/socket.h>
#include "vtc.h"
#include "libvarnish.h"
#include "varnishapi.h"
#include "vcli.h"
#include "vss.h"
#include "vtc.h"
struct varnish {
unsigned magic;
#define VARNISH_MAGIC 0x208cd8e3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment