diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index 2183fff2c..bd6828e44 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -25,6 +25,7 @@ #include "epicsMemory.h" #include "epicsGuard.h" +#include "epicsVersion.h" #include "osiProcess.h" #include "osiSigPipeIgnore.h" #include "envDefs.h" @@ -43,7 +44,7 @@ #include "bhe.h" #include "net_convert.h" -static char *id="@(#) $Id$"; +static const char *id = "@(#) " EPICS_VERSION_STRING ", CA Portable Server Library" __DATE__; // TCP response dispatch table const cac::pProtoStubTCP cac::tcpJumpTableCAC [] = diff --git a/src/cas/generic/caServerI.cc b/src/cas/generic/caServerI.cc index e39d9969e..13f739688 100644 --- a/src/cas/generic/caServerI.cc +++ b/src/cas/generic/caServerI.cc @@ -24,7 +24,7 @@ #include "server.h" #include "casCtxIL.h" // casCtx in line func -static char *id="@(#) " EPICS_VERSION_STRING ", CA Portable Server Library" "$Date$"; +static const char *id = "@(#) " EPICS_VERSION_STRING ", CA Portable Server Library" "$Date$"; // // the maximum beacon period if EPICS_CA_BEACON_PERIOD isnt available