summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 10:21:15 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commit7798c53c989408c64a6d43175e84dbc4bfa137f5 (patch)
tree7f4f06dcded4bff55e1084569b4a3c07afdc6a95 /scripts/coccinelle
parent18f1624bbef19c89be1b116b950134c0b808d4fc (diff)
downloadtor-7798c53c989408c64a6d43175e84dbc4bfa137f5.tar.gz
tor-7798c53c989408c64a6d43175e84dbc4bfa137f5.zip
tor-coccinelle.h: add MOCK_DECL
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/tor-coccinelle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index a31a5cd80d..97935c2dd4 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -17,6 +17,7 @@
* syntactically valid C.
*/
+#define MOCK_DECL(a, b, c) a b c
#define MOCK_IMPL(a, b, c) a b c
#define CHECK_PRINTF(a, b)
#define STATIC static