Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
93931543
Commit
93931543
authored
Nov 13, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unused #includes
parent
9699424c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
binary_heap.c
lib/libvarnish/binary_heap.c
+5
-2
vmb.c
lib/libvarnish/vmb.c
+1
-1
vnum.c
lib/libvarnish/vnum.c
+0
-1
vmod_std.c
lib/libvmod_std/vmod_std.c
+0
-1
vmod_std_conversions.c
lib/libvmod_std/vmod_std_conversions.c
+0
-2
No files found.
lib/libvarnish/binary_heap.c
View file @
93931543
...
@@ -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
...
...
lib/libvarnish/vmb.c
View file @
93931543
...
@@ -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 */
lib/libvarnish/vnum.c
View file @
93931543
...
@@ -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"
;
...
...
lib/libvmod_std/vmod_std.c
View file @
93931543
...
@@ -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>
...
...
lib/libvmod_std/vmod_std_conversions.c
View file @
93931543
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment