Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
68644d8b
Commit
68644d8b
authored
Oct 10, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strictly speaking it is not legal to forward declare an enum.
parent
93574472
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
cache.h
bin/varnishd/cache/cache.h
+0
-5
common.h
bin/varnishd/common/common.h
+10
-0
storage.h
bin/varnishd/storage/storage.h
+0
-1
No files found.
bin/varnishd/cache/cache.h
View file @
68644d8b
...
...
@@ -192,11 +192,6 @@ enum httpwhence {
* Ban info event types
*/
enum
baninfo
{
BI_NEW
,
BI_DROP
};
/* NB: remember to update http_Copy() if you add fields */
struct
http
{
unsigned
magic
;
...
...
bin/varnishd/common/common.h
View file @
68644d8b
...
...
@@ -40,6 +40,16 @@
#include "vqueue.h"
#include "vsb.h"
/*
* Enums cannot be forward declared (any more...) so put it here
* to make everybody see it.
*/
enum
baninfo
{
BI_NEW
,
BI_DROP
};
struct
cli
;
/**********************************************************************
...
...
bin/varnishd/storage/storage.h
View file @
68644d8b
...
...
@@ -38,7 +38,6 @@ struct busyobj;
struct
objcore
;
struct
worker
;
struct
lru
;
enum
baninfo
;
typedef
void
storage_init_f
(
struct
stevedore
*
,
int
ac
,
char
*
const
*
av
);
typedef
void
storage_open_f
(
const
struct
stevedore
*
);
...
...
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