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
118ac4ed
Commit
118ac4ed
authored
Apr 18, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define enum before using it
exotic compilers complain about incomplete type
parent
bdf2f639
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
cache_varnishd.h
bin/varnishd/cache/cache_varnishd.h
+5
-6
No files found.
bin/varnishd/cache/cache_varnishd.h
View file @
118ac4ed
...
...
@@ -79,6 +79,11 @@ struct http_conn {
vtim_dur
between_bytes_timeout
;
};
enum
htc_status_e
{
#define HTC_STATUS(e, n, s, l) HTC_S_ ## e = n,
#include "tbl/htc.h"
};
typedef
enum
htc_status_e
htc_complete_f
(
struct
http_conn
*
);
/* -------------------------------------------------------------------*/
...
...
@@ -382,12 +387,6 @@ enum htc_status_e HTC_RxStuff(struct http_conn *, htc_complete_f *,
#include "tbl/sess_attr.h"
void
SES_Set_String_Attr
(
struct
sess
*
sp
,
enum
sess_attr
a
,
const
char
*
src
);
enum
htc_status_e
{
#define HTC_STATUS(e, n, s, l) HTC_S_ ## e = n,
#include "tbl/htc.h"
};
/* cache_shmlog.c */
extern
struct
VSC_main
*
VSC_C_main
;
void
VSM_Init
(
void
);
...
...
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