From 5f11552ae34058d7f0db5c78812096352c639602 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 20 Jan 2026 19:27:15 +0900 Subject: Add visibility attributes to library functions Signed-off-by: Michele Calgaro --- src/modules/dcc/requests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/dcc/requests.cpp') diff --git a/src/modules/dcc/requests.cpp b/src/modules/dcc/requests.cpp index bf8a919..1d5b284 100644 --- a/src/modules/dcc/requests.cpp +++ b/src/modules/dcc/requests.cpp @@ -1132,7 +1132,7 @@ static dccParseProcEntry dccParseProcTable[KVI_NUM_KNOWN_DCC_TYPES]= // We want C linkage on this one: we want to be able to dlsym() it with a simple name // FIXME: Is this portable enough ? Or is better to have a table entry ? -KVIMODULEEXPORTFUNC void dccModuleCtcpDccParseRoutine(KviDccRequest *dcc) +extern "C" KVIMODULEEXPORTFUNC void dccModuleCtcpDccParseRoutine(KviDccRequest *dcc) { dcc->szType.toUpper(); -- cgit v1.2.3