summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 11:14:28 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:32:13 -0400
commitd6ce8527f8795c3385320baa17e080bde999e29a (patch)
tree0efa52b4b1f2842a0ada8d5355601b3e23dbee72 /scripts/coccinelle
parentef5d1e6b656e752c79bb5df26f64aef51550594f (diff)
downloadtor-d6ce8527f8795c3385320baa17e080bde999e29a.tar.gz
tor-d6ce8527f8795c3385320baa17e080bde999e29a.zip
tor-coccinelle.h: add a definition for EXTERN
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 0727caa4dc..c83dce3c5c 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)