From 8faa55056d0cb8352216fde21103b3530234a542 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 28 Jul 2003 18:38:59 +0000 Subject: [PATCH] fixed visual c++ 6.0 build --- src/iocsh/iocsh.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 41675f4aa..5b1aa0c73 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -597,6 +597,8 @@ static void varHandler(const iocshVarDef *v, const char *setString) } } +extern "C" { + static void varCallFunc(const iocshArgBuf *args) { struct iocshVariable *v; @@ -615,6 +617,8 @@ static void varCallFunc(const iocshArgBuf *args) } } +} + /* * Dummy internal commands -- register and install in command table * so they show up in the help display