From 936ca283000d46058cb707db4855cf325e81c94f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 31 Jul 2002 21:06:15 +0000 Subject: [PATCH] added version string --- src/ca/cac.cpp | 3 ++- src/cas/generic/caServerI.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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