Commit 6b717fb1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make __match_proto__() macro globally visible

parent 7dda86f1
...@@ -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.
......
...@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment