[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit d6ce8527f8795c3385320baa17e080bde999e29a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits