[tor-commits] [tor/master] tor-coccinelle.h: add MOCK_DECL

teor at torproject.org teor at torproject.org
Thu Oct 24 00:01:21 UTC 2019


commit 7798c53c989408c64a6d43175e84dbc4bfa137f5
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 9 10:21:15 2019 -0400

    tor-coccinelle.h: add MOCK_DECL
---
 scripts/coccinelle/tor-coccinelle.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index a31a5cd80..97935c2dd 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





More information about the tor-commits mailing list