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
af56daba
Commit
af56daba
authored
May 16, 2014
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up function declarations to fix compile errors on clang
parent
dec9098a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
cache_backend.h
bin/varnishd/cache_backend.h
+4
-3
cache_backend_poll.c
bin/varnishd/cache_backend_poll.c
+3
-2
No files found.
bin/varnishd/cache_backend.h
View file @
af56daba
...
...
@@ -153,9 +153,10 @@ void VBE_DropRefVcl(struct backend *);
void
VBE_DropRefLocked
(
struct
backend
*
b
);
/* cache_backend_poll.c */
void
VBP_Insert
(
struct
backend
*
b
,
struct
vrt_backend_probe
const
*
p
,
const
char
*
hosthdr
);
void
VBP_Remove
(
struct
backend
*
b
,
struct
vrt_backend_probe
const
*
p
);
void
VBP_Use
(
const
struct
backend
*
b
,
const
struct
vrt_backend_probe
const
*
p
);
void
VBP_Insert
(
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
,
const
char
*
hosthdr
);
void
VBP_Remove
(
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
);
void
VBP_Use
(
const
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
);
void
VBP_Summary
(
struct
cli
*
cli
,
const
struct
vbp_target
*
vt
);
/* Init functions for directors */
...
...
bin/varnishd/cache_backend_poll.c
View file @
af56daba
...
...
@@ -475,7 +475,8 @@ vbp_new_vcl(const struct vrt_backend_probe *p, const char *hosthdr)
*/
void
VBP_Insert
(
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
,
const
char
*
hosthdr
)
VBP_Insert
(
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
,
const
char
*
hosthdr
)
{
struct
vbp_target
*
vt
;
struct
vbp_vcl
*
vcl
;
...
...
@@ -542,7 +543,7 @@ VBP_Use(const struct backend *b, const struct vrt_backend_probe *p)
}
void
VBP_Remove
(
struct
backend
*
b
,
struct
vrt_backend_probe
const
*
p
)
VBP_Remove
(
struct
backend
*
b
,
const
struct
vrt_backend_probe
*
p
)
{
struct
vbp_target
*
vt
;
struct
vbp_vcl
*
vcl
;
...
...
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