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
84434327
Commit
84434327
authored
Nov 05, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch to static VRBT functions
This may reduce our binary size.
parent
a1eba584
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cache_vrt_priv.c
bin/varnishd/cache/cache_vrt_priv.c
+2
-2
No files found.
bin/varnishd/cache/cache_vrt_priv.c
View file @
84434327
...
...
@@ -49,7 +49,7 @@ struct vrt_privs cli_task_privs[1];
static
inline
int
vrt_priv_dyncmp
(
const
struct
vrt_priv
*
,
const
struct
vrt_priv
*
);
VRBT_PROTOTYPE
(
vrt_priv_tree
,
vrt_priv
,
entry
,
vrt_priv_dyncmp
)
VRBT_PROTOTYPE
_STATIC
(
vrt_priv_tree
,
vrt_priv
,
entry
,
vrt_priv_dyncmp
)
/*--------------------------------------------------------------------
*/
...
...
@@ -102,7 +102,7 @@ vrt_priv_dyncmp(const struct vrt_priv *vp1, const struct vrt_priv *vp2)
return
(
0
);
}
VRBT_GENERATE
(
vrt_priv_tree
,
vrt_priv
,
entry
,
vrt_priv_dyncmp
)
VRBT_GENERATE
_STATIC
(
vrt_priv_tree
,
vrt_priv
,
entry
,
vrt_priv_dyncmp
)
static
struct
vmod_priv
*
vrt_priv_dynamic
(
struct
ws
*
ws
,
struct
vrt_privs
*
vps
,
uintptr_t
vmod_id
)
...
...
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