[tor-commits] [tor/master] tor-coccinelle.h: add a definition for EXTERN

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


commit d6ce8527f8795c3385320baa17e080bde999e29a
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 9 11:14:28 2019 -0400

    tor-coccinelle.h: add a definition for EXTERN
---
 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 0727caa4d..c83dce3c5 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -22,6 +22,7 @@
 #define CHECK_PRINTF(a, b)
 #define CHECK_SCANF(a, b)
 #define STATIC static
+#define EXTERN(a,b) extern a b;
 
 #define STMT_BEGIN do {
 #define STMT_END } while (0)





More information about the tor-commits mailing list