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
6b717fb1
Commit
6b717fb1
authored
Jun 29, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make __match_proto__() macro globally visible
parent
7dda86f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
common.h
bin/varnishd/common/common.h
+0
-7
vdef.h
include/vdef.h
+12
-0
No files found.
bin/varnishd/common/common.h
View file @
6b717fb1
...
@@ -56,13 +56,6 @@ struct cli;
...
@@ -56,13 +56,6 @@ struct cli;
* FlexeLint and compiler shutuppery
* FlexeLint and compiler shutuppery
*/
*/
/*
* In OO-light situations, functions have to match their prototype
* even if that means not const'ing a const'able argument.
* The typedef should be specified as argument to the macro.
*/
#define __match_proto__(xxx)
/*lint -e{818} */
/*
/*
* State variables may change value before we use the last value we
* State variables may change value before we use the last value we
* set them to.
* set them to.
...
...
include/vdef.h
View file @
6b717fb1
...
@@ -67,4 +67,16 @@
...
@@ -67,4 +67,16 @@
# endif
# endif
#endif
#endif
/**********************************************************************
* FlexeLint and compiler shutuppery
*/
/*
* In OO-light situations, functions have to match their prototype
* even if that means not const'ing a const'able argument.
* The typedef should be specified as argument to the macro.
*/
#define __match_proto__(xxx)
/*lint -e{818} */
#endif
/* VDEF_H_INCLUDED */
#endif
/* VDEF_H_INCLUDED */
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