From 9c05194e0b4a7f5f436bc1048a4fa53b0754a082 Mon Sep 17 00:00:00 2001 From: goodale Date: Thu, 10 May 2001 12:35:33 +0000 Subject: Making rcsid strings constant - PR 669. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@69 0888f3d4-9f52-45d2-93bc-d00801ff5e46 --- src/DumpGH.c | 2 +- src/Output.c | 2 +- src/RecoverGH.c | 2 +- src/Startup.c | 2 +- src/Write.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DumpGH.c b/src/DumpGH.c index 6b6c8c5..4599a82 100644 --- a/src/DumpGH.c +++ b/src/DumpGH.c @@ -31,7 +31,7 @@ #endif /* the rcs ID and its dummy function to use it */ -static char *rcsid = "$Id$"; +static const char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_DumpGH_c) diff --git a/src/Output.c b/src/Output.c index 0ce5a4e..cf2174c 100644 --- a/src/Output.c +++ b/src/Output.c @@ -17,7 +17,7 @@ #include "ioStreamedHDF5GH.h" /* the rcs ID and its dummy function to use it */ -static char *rcsid = "$Id$"; +static const char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_Output_c) diff --git a/src/RecoverGH.c b/src/RecoverGH.c index bcc074d..010e858 100644 --- a/src/RecoverGH.c +++ b/src/RecoverGH.c @@ -25,7 +25,7 @@ /* the rcs ID and its dummy function to use it */ -static char *rcsid = "$Id$"; +static const char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_RecoverGH_c) diff --git a/src/Startup.c b/src/Startup.c index 4807463..29d2d92 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -24,7 +24,7 @@ #endif /* the rcs ID and its dummy function to use it */ -static char *rcsid = "$Id$"; +static const char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_Startup_c) diff --git a/src/Write.c b/src/Write.c index 14e6585..6a72c00 100644 --- a/src/Write.c +++ b/src/Write.c @@ -19,7 +19,7 @@ #include "ioStreamedHDF5GH.h" /* the rcs ID and its dummy function to use it */ -static char *rcsid = "$Id$"; +static const char *rcsid = "$Id$"; CCTK_FILEVERSION(BetaThorns_IOStreamedHDF5_Write_c) -- cgit v1.2.3