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
cbda52ae
Commit
cbda52ae
authored
May 23, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We need VSM_Alloc() for test c00083 for now.
parent
15e2caa6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
cache.h
bin/varnishd/cache/cache.h
+2
-0
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+1
-4
No files found.
bin/varnishd/cache/cache.h
View file @
cbda52ae
...
...
@@ -977,6 +977,8 @@ void SES_Set_String_Attr(struct sess *sp, enum sess_attr a, const char *src);
const
char
*
SES_Get_String_Attr
(
const
struct
sess
*
sp
,
enum
sess_attr
a
);
/* cache_shmlog.c */
void
*
VSM_Alloc
(
unsigned
size
,
const
char
*
class
,
const
char
*
type
,
const
char
*
ident
);
void
VSM_Free
(
void
*
ptr
);
#ifdef VSL_ENDMARKER
void
VSLv
(
enum
VSL_tag_e
tag
,
uint32_t
vxid
,
const
char
*
fmt
,
va_list
va
);
...
...
bin/varnishd/cache/cache_shmlog.c
View file @
cbda52ae
...
...
@@ -55,9 +55,6 @@ static ssize_t vsl_segsize;
struct
VSC_main
*
VSC_C_main
;
static
void
*
VSM_Alloc
(
unsigned
size
,
const
char
*
class
,
const
char
*
type
,
const
char
*
ident
);
static
void
vsl_sanity
(
const
struct
vsl_log
*
vsl
)
{
...
...
@@ -569,7 +566,7 @@ VSM_Init(void)
/*--------------------------------------------------------------------*/
static
void
*
void
*
VSM_Alloc
(
unsigned
size
,
const
char
*
class
,
const
char
*
type
,
const
char
*
ident
)
{
...
...
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