diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-03-20 21:09:43 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-03-20 21:09:43 (GMT) |
commit | 771c9da9c5b34ab7d63a7bd2ad8e159dd5c20eda (patch) | |
tree | b2f6642ccbbf5236eabcbda1d0c9c68a585de12e | |
parent | c65c1d25235dde13d5f544119f65d7d5470ff752 (diff) | |
download | hdf5-771c9da9c5b34ab7d63a7bd2ad8e159dd5c20eda.zip hdf5-771c9da9c5b34ab7d63a7bd2ad8e159dd5c20eda.tar.gz hdf5-771c9da9c5b34ab7d63a7bd2ad8e159dd5c20eda.tar.bz2 |
[svn-r3676] Purpose:
Bug fix (sort of)
Description:
The RCSID string in H5public.h was causing the C++ code problem as it
was included multiple times and C++ did not like multiple definitions
of the same static variable.
Solution:
Since we don't really make use of the RCSID strings as we have not
installed it in all source files, we decided to remove it.
Platforms tested:
eirene (linux), modi4 (IRIX64-64) both serial and parallel modes.
-rw-r--r-- | src/H5.c | 4 | ||||
-rw-r--r-- | src/H5A.c | 4 | ||||
-rw-r--r-- | src/H5D.c | 4 | ||||
-rw-r--r-- | src/H5F.c | 4 | ||||
-rw-r--r-- | src/H5I.c | 4 | ||||
-rw-r--r-- | src/H5Oattr.c | 4 | ||||
-rw-r--r-- | src/H5Odtype.c | 4 | ||||
-rw-r--r-- | src/H5Osdspace.c | 4 | ||||
-rw-r--r-- | src/H5P.c | 4 | ||||
-rw-r--r-- | src/H5R.c | 4 | ||||
-rw-r--r-- | src/H5S.c | 4 | ||||
-rw-r--r-- | src/H5T.c | 3 | ||||
-rw-r--r-- | src/H5TB.c | 4 | ||||
-rw-r--r-- | src/H5TS.c | 4 | ||||
-rw-r--r-- | src/H5Tvlen.c | 4 | ||||
-rw-r--r-- | src/H5public.h | 4 | ||||
-rw-r--r-- | test/tarray.c | 4 | ||||
-rw-r--r-- | test/tattr.c | 4 | ||||
-rw-r--r-- | test/testhdf5.c | 4 | ||||
-rw-r--r-- | test/tfile.c | 4 | ||||
-rw-r--r-- | test/tgenprop.c | 4 | ||||
-rw-r--r-- | test/th5s.c | 4 | ||||
-rw-r--r-- | test/titerate.c | 4 | ||||
-rw-r--r-- | test/tmeta.c | 4 | ||||
-rw-r--r-- | test/trefer.c | 4 | ||||
-rw-r--r-- | test/tselect.c | 4 | ||||
-rw-r--r-- | test/ttbbt.c | 4 | ||||
-rw-r--r-- | test/ttime.c | 4 | ||||
-rw-r--r-- | test/ttsafe.c | 4 | ||||
-rw-r--r-- | test/tvlstr.c | 4 | ||||
-rw-r--r-- | test/tvltypes.c | 4 |
31 files changed, 0 insertions, 123 deletions
@@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* private headers */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ #define H5A_PACKAGE /*suppress error about including H5Apkg */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #include <H5private.h> /* Generic Functions */ @@ -14,10 +14,6 @@ * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5F_PACKAGE /*suppress error about including H5Fpkg */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* diff --git a/src/H5Oattr.c b/src/H5Oattr.c index 7ffd804..65cb4bf 100644 --- a/src/H5Oattr.c +++ b/src/H5Oattr.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5A_PACKAGE /*prevent warning from including H5Tpkg.h */ diff --git a/src/H5Odtype.c b/src/H5Odtype.c index d5b7618..398e5cb 100644 --- a/src/H5Odtype.c +++ b/src/H5Odtype.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5T_PACKAGE /*prevent warning from including H5Tpkg.h */ diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c index a2829ef..8dab984 100644 --- a/src/H5Osdspace.c +++ b/src/H5Osdspace.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5S_PACKAGE /*prevent warning from including H5Spkg.h */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* Private header files */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5F_PACKAGE /*suppress error about including H5Fpkg */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5S_PACKAGE /*suppress error about including H5Spkg */ @@ -5,9 +5,6 @@ * Programmer: Robb Matzke <matzke@llnl.gov> * Tuesday, March 31, 1998 */ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif #define H5T_PACKAGE /*suppress error about including H5Tpkg */ @@ -56,10 +56,6 @@ * void H5TB_free( ITM ***root, void (*df)(ITM *), void (*kf)(void *) ); */ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #include <H5private.h> /*library */ @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* private headers */ diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c index f454b0a..133253e 100644 --- a/src/H5Tvlen.c +++ b/src/H5Tvlen.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ #define H5T_PACKAGE /*suppress error about including H5Tpkg */ diff --git a/src/H5public.h b/src/H5public.h index 1b8c1fe..69a0bc7 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ diff --git a/test/tarray.c b/test/tarray.c index ebb5ff8..34047c5 100644 --- a/test/tarray.c +++ b/test/tarray.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/tattr.c b/test/tattr.c index 4747c74..7bef8df 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/testhdf5.c b/test/testhdf5.c index e206046..83d42c4 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* diff --git a/test/tfile.c b/test/tfile.c index b158fb5..c9be023 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/tgenprop.c b/test/tgenprop.c index c89cf91..f9db34a 100644 --- a/test/tgenprop.c +++ b/test/tgenprop.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/th5s.c b/test/th5s.c index ccec8c2..0053460 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/titerate.c b/test/titerate.c index 5e56001..b067b88 100644 --- a/test/titerate.c +++ b/test/titerate.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/tmeta.c b/test/tmeta.c index ade015a..8b4c161 100644 --- a/test/tmeta.c +++ b/test/tmeta.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/trefer.c b/test/trefer.c index 9935b5b..a010302 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/tselect.c b/test/tselect.c index b108b5c..1f9c329 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/ttbbt.c b/test/ttbbt.c index b839b6f..364f117 100644 --- a/test/ttbbt.c +++ b/test/ttbbt.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* diff --git a/test/ttime.c b/test/ttime.c index 2ff5426..8ce2cc9 100644 --- a/test/ttime.c +++ b/test/ttime.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/ttsafe.c b/test/ttsafe.c index 6920321..663872b 100644 --- a/test/ttsafe.c +++ b/test/ttsafe.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "@(#)$Revision$"; -#endif - /* $Id$ */ /* diff --git a/test/tvlstr.c b/test/tvlstr.c index ee3867c..bab4365 100644 --- a/test/tvlstr.c +++ b/test/tvlstr.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** diff --git a/test/tvltypes.c b/test/tvltypes.c index ea4d481..1738bf4 100644 --- a/test/tvltypes.c +++ b/test/tvltypes.c @@ -10,10 +10,6 @@ * * ****************************************************************************/ -#ifdef RCSID -static char RcsId[] = "$Revision$"; -#endif - /* $Id$ */ /*********************************************************** |