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
17fbc579
Commit
17fbc579
authored
Jul 11, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make NEEDLESS_RETURN part of vdef.h
parent
f6a79036
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
common.h
bin/varnishd/common/common.h
+0
-2
vdef.h
include/vdef.h
+1
-0
vsl_query.c
lib/libvarnishapi/vsl_query.c
+0
-2
No files found.
bin/varnishd/common/common.h
View file @
17fbc579
...
@@ -103,8 +103,6 @@ void mgt_child_inherit(int fd, const char *what);
...
@@ -103,8 +103,6 @@ void mgt_child_inherit(int fd, const char *what);
exit(2); \
exit(2); \
} while (0)
} while (0)
#define NEEDLESS_RETURN(foo) return (foo)
/* cache/cache_vcl.c */
/* cache/cache_vcl.c */
int
VCL_TestLoad
(
const
char
*
);
int
VCL_TestLoad
(
const
char
*
);
...
...
include/vdef.h
View file @
17fbc579
...
@@ -78,5 +78,6 @@
...
@@ -78,5 +78,6 @@
*/
*/
#define __match_proto__(xxx)
/*lint -e{818} */
#define __match_proto__(xxx)
/*lint -e{818} */
#define NEEDLESS_RETURN(foo) return (foo)
#endif
/* VDEF_H_INCLUDED */
#endif
/* VDEF_H_INCLUDED */
lib/libvarnishapi/vsl_query.c
View file @
17fbc579
...
@@ -51,8 +51,6 @@
...
@@ -51,8 +51,6 @@
#include "vsl_api.h"
#include "vsl_api.h"
#include "vxp.h"
#include "vxp.h"
#define NEEDLESS_RETURN(foo) return(foo)
struct
vslq_query
{
struct
vslq_query
{
unsigned
magic
;
unsigned
magic
;
#define VSLQ_QUERY_MAGIC 0x122322A5
#define VSLQ_QUERY_MAGIC 0x122322A5
...
...
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