Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
e10a410d
Commit
e10a410d
authored
Mar 02, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make default_oc_methods static to stevedore.c
parent
6bf50b29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
cache.h
bin/varnishd/cache.h
+0
-2
stevedore.c
bin/varnishd/stevedore.c
+2
-1
No files found.
bin/varnishd/cache.h
View file @
e10a410d
...
@@ -363,8 +363,6 @@ struct objcore_methods {
...
@@ -363,8 +363,6 @@ struct objcore_methods {
getlru_f
*
getlru
;
getlru_f
*
getlru
;
};
};
extern
struct
objcore_methods
default_oc_methods
;
struct
objcore
{
struct
objcore
{
unsigned
magic
;
unsigned
magic
;
#define OBJCORE_MAGIC 0x4d301302
#define OBJCORE_MAGIC 0x4d301302
...
...
bin/varnishd/stevedore.c
View file @
e10a410d
...
@@ -53,6 +53,7 @@ static VTAILQ_HEAD(, stevedore) stevedores =
...
@@ -53,6 +53,7 @@ static VTAILQ_HEAD(, stevedore) stevedores =
static
const
struct
stevedore
*
volatile
stv_next
;
static
const
struct
stevedore
*
volatile
stv_next
;
static
struct
stevedore
*
stv_transient
;
static
struct
stevedore
*
stv_transient
;
static
struct
objcore_methods
default_oc_methods
;
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
*/
*/
...
@@ -339,7 +340,7 @@ default_oc_getlru(const struct objcore *oc)
...
@@ -339,7 +340,7 @@ default_oc_getlru(const struct objcore *oc)
return
(
o
->
objstore
->
stevedore
->
lru
);
return
(
o
->
objstore
->
stevedore
->
lru
);
}
}
struct
objcore_methods
default_oc_methods
=
{
st
atic
st
ruct
objcore_methods
default_oc_methods
=
{
.
getobj
=
default_oc_getobj
,
.
getobj
=
default_oc_getobj
,
.
freeobj
=
default_oc_freeobj
,
.
freeobj
=
default_oc_freeobj
,
.
getlru
=
default_oc_getlru
,
.
getlru
=
default_oc_getlru
,
...
...
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