Commit 93931543 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove some unused #includes

parent 9699424c
...@@ -38,12 +38,10 @@ ...@@ -38,12 +38,10 @@
#include <errno.h> #include <errno.h>
#include <limits.h> #include <limits.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> // for testcase
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "binary_heap.h" #include "binary_heap.h"
#include "miniobj.h" // for testcase
#include "vas.h" #include "vas.h"
/* Parameters --------------------------------------------------------*/ /* Parameters --------------------------------------------------------*/
...@@ -457,6 +455,11 @@ binheap_reorder(const struct binheap *bh, unsigned idx) ...@@ -457,6 +455,11 @@ binheap_reorder(const struct binheap *bh, unsigned idx)
} }
#ifdef TEST_DRIVER #ifdef TEST_DRIVER
#include <stdio.h>
#include "miniobj.h"
/* Test driver -------------------------------------------------------*/ /* Test driver -------------------------------------------------------*/
static void static void
......
...@@ -58,4 +58,4 @@ vmb_pthread(void) ...@@ -58,4 +58,4 @@ vmb_pthread(void)
AZ(pthread_mutex_unlock(&mb_mtx)); AZ(pthread_mutex_unlock(&mb_mtx));
} }
#endif #endif /* VMB_NEEDS_PTHREAD_WORKAROUND_THIS_IS_BAD_FOR_PERFORMANCE */
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "vas.h"
#include "vnum.h" #include "vnum.h"
static const char err_miss_num[] = "Missing number"; static const char err_miss_num[] = "Missing number";
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <syslog.h> #include <syslog.h>
......
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
#include "config.h" #include "config.h"
#include <ctype.h> #include <ctype.h>
#include <errno.h>
#include <math.h> #include <math.h>
#include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include "../../bin/varnishd/cache.h" #include "../../bin/varnishd/cache.h"
......
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