From 417dfcc191044102715bd6c7c29477f2855a8a47 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Tue, 15 Jul 2003 20:47:22 +0000 Subject: [PATCH] Declare proper linkage for varCallFunc(). --- src/iocsh/iocsh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 6bd0fd5a0..b2708d33c 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -46,7 +46,7 @@ struct iocshVariable { }; static struct iocshVariable *iocshVariableHead; static char iocshVarID[] = "iocshVar"; -static void varCallFunc(const iocshArgBuf *); +extern "C" static void varCallFunc(const iocshArgBuf *); static epicsMutexId iocshTableMutex; static epicsThreadOnceId iocshTableOnceId = EPICS_THREAD_ONCE_INIT;