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
eb18d9be
Commit
eb18d9be
authored
Nov 20, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move VSC_C_main to cache namespace only
parent
889a8e4c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
cache.h
bin/varnishd/cache/cache.h
+1
-0
cache_shmlog.c
bin/varnishd/cache/cache_shmlog.c
+2
-0
common.h
bin/varnishd/common/common.h
+0
-1
mgt_shmem.c
bin/varnishd/mgt/mgt_shmem.c
+0
-2
No files found.
bin/varnishd/cache/cache.h
View file @
eb18d9be
...
@@ -850,6 +850,7 @@ int SES_Schedule(struct sess *sp);
...
@@ -850,6 +850,7 @@ int SES_Schedule(struct sess *sp);
/* cache_shmlog.c */
/* cache_shmlog.c */
extern
struct
VSC_C_main
*
VSC_C_main
;
void
VSL_Init
(
void
);
void
VSL_Init
(
void
);
void
*
VSM_Alloc
(
unsigned
size
,
const
char
*
class
,
const
char
*
type
,
void
*
VSM_Alloc
(
unsigned
size
,
const
char
*
class
,
const
char
*
type
,
const
char
*
ident
);
const
char
*
ident
);
...
...
bin/varnishd/cache/cache_shmlog.c
View file @
eb18d9be
...
@@ -47,6 +47,8 @@ static uint32_t *vsl_start;
...
@@ -47,6 +47,8 @@ static uint32_t *vsl_start;
static
const
uint32_t
*
vsl_end
;
static
const
uint32_t
*
vsl_end
;
static
uint32_t
*
vsl_ptr
;
static
uint32_t
*
vsl_ptr
;
struct
VSC_C_main
*
VSC_C_main
;
static
inline
uint32_t
static
inline
uint32_t
vsl_w0
(
uint32_t
type
,
uint32_t
length
)
vsl_w0
(
uint32_t
type
,
uint32_t
length
)
{
{
...
...
bin/varnishd/common/common.h
View file @
eb18d9be
...
@@ -49,7 +49,6 @@ extern pid_t mgt_pid;
...
@@ -49,7 +49,6 @@ extern pid_t mgt_pid;
#define ASSERT_MGT() do { assert(getpid() == mgt_pid);} while (0)
#define ASSERT_MGT() do { assert(getpid() == mgt_pid);} while (0)
/* mgt_shmem.c */
/* mgt_shmem.c */
extern
struct
VSC_C_main
*
VSC_C_main
;
#define PAN_CLASS "Panic"
#define PAN_CLASS "Panic"
extern
char
*
PAN_panicstr
;
extern
char
*
PAN_panicstr
;
extern
unsigned
PAN_panicstr_len
;
extern
unsigned
PAN_panicstr_len
;
...
...
bin/varnishd/mgt/mgt_shmem.c
View file @
eb18d9be
...
@@ -57,8 +57,6 @@
...
@@ -57,8 +57,6 @@
#define MAP_NOSYNC 0
/* XXX Linux */
#define MAP_NOSYNC 0
/* XXX Linux */
#endif
#endif
struct
VSC_C_main
*
VSC_C_main
;
static
int
vsm_fd
=
-
1
;
static
int
vsm_fd
=
-
1
;
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
...
...
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