From a5cc20b06d330778ed9e5d282455093a6c49fd22 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 6 Dec 2009 13:39:48 +1300 Subject: [PATCH] Author: Francesco Chemolli Fixed linking convention mismatch in Asn ACL --- src/asn.cc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/asn.cc b/src/asn.cc index 61f917e75b..a04fba6576 100644 --- a/src/asn.cc +++ b/src/asn.cc @@ -110,9 +110,17 @@ static void asnCacheStart(int as); static STCB asHandleReply; -static int destroyRadixNode(struct squid_radix_node *rn, void *w); -static int printRadixNode(struct squid_radix_node *rn, void *sentry); +#if defined(__cplusplus) +extern "C" { +#endif + + static int destroyRadixNode(struct squid_radix_node *rn, void *w); + static int printRadixNode(struct squid_radix_node *rn, void *sentry); + +#if defined(__cplusplus) +} +#endif void asnAclInitialize(ACL * acls); -- 2.47.2