Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
c3f399ca
Commit
c3f399ca
authored
May 01, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function VRT_MkGethdr()
parent
b6da2dc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+0
-18
vrt.h
include/vrt.h
+0
-2
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
c3f399ca
...
...
@@ -52,24 +52,6 @@
const
void
*
const
vrt_magic_string_end
=
&
vrt_magic_string_end
;
const
void
*
const
vrt_magic_string_unset
=
&
vrt_magic_string_unset
;
/*--------------------------------------------------------------------*/
const
struct
gethdr_s
*
VRT_MkGethdr
(
const
struct
vrt_ctx
*
ctx
,
enum
gethdr_e
where
,
const
char
*
what
)
{
struct
gethdr_s
*
retval
;
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
->
req
,
REQ_MAGIC
);
// XXX ?
retval
=
(
void
*
)
WS_Alloc
(
ctx
->
req
->
wrk
->
aws
,
sizeof
*
retval
);
AN
(
retval
);
retval
->
where
=
where
;
retval
->
what
=
what
;
return
(
retval
);
}
/*--------------------------------------------------------------------*/
void
...
...
include/vrt.h
View file @
c3f399ca
...
...
@@ -207,8 +207,6 @@ int VRT_rewrite(const char *, const char *);
void
VRT_error
(
const
struct
vrt_ctx
*
,
unsigned
,
const
char
*
);
int
VRT_switch_config
(
const
char
*
);
const
struct
gethdr_s
*
VRT_MkGethdr
(
const
struct
vrt_ctx
*
,
enum
gethdr_e
,
const
char
*
);
char
*
VRT_GetHdr
(
const
struct
vrt_ctx
*
,
const
struct
gethdr_s
*
);
void
VRT_SetHdr
(
const
struct
vrt_ctx
*
,
const
struct
gethdr_s
*
,
const
char
*
,
...);
void
VRT_handling
(
const
struct
vrt_ctx
*
,
unsigned
hand
);
...
...
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