From 551573d2d2b2e8aff487e16ed91bdd9eddc0678d Mon Sep 17 00:00:00 2001 From: Simon Rose Date: Thu, 10 Aug 2023 15:25:14 +0200 Subject: [PATCH] Remove obsolete shamrockDummy.cpp to avoid confusion Note that this has been obsolete for a while, see https://github.com/areaDetector/ADAndor/commit/a302de542 --- andorApp/src/shamrockDummy.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 andorApp/src/shamrockDummy.cpp diff --git a/andorApp/src/shamrockDummy.cpp b/andorApp/src/shamrockDummy.cpp deleted file mode 100644 index e713b779..00000000 --- a/andorApp/src/shamrockDummy.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// Dummy file for Linux - -#include -#include -#include - -static const iocshArg configArg0 = {"Port name", iocshArgString}; -static const iocshArg configArg1 = {"shamrockId", iocshArgInt}; -static const iocshArg configArg2 = {"iniPath", iocshArgString}; -static const iocshArg configArg3 = {"priority", iocshArgInt}; -static const iocshArg configArg4 = {"stackSize", iocshArgInt}; -static const iocshArg * const configArgs[] = {&configArg0, - &configArg1, - &configArg2, - &configArg3, - &configArg4}; -static const iocshFuncDef configShamrock = {"shamrockConfig", 5, configArgs}; -static void configCallFunc(const iocshArgBuf *args) -{ - printf("ERROR: shamrockConfig is not supported on Linux\n"); -} - - -static void shamrockRegister(void) -{ - iocshRegister(&configShamrock, configCallFunc); -} - -extern "C" { -epicsExportRegistrar(shamrockRegister); -} -