From ed2e87dc71a24fc9fc93eb39a42ebf6f1eddffcf Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 8 Sep 2000 17:58:59 -0500 Subject: [svn-r2528] Linking errors occured with these files. They link with libh5test, but libh5test wants FILENAME to be defined. I have no clue why this was working before... --- test/bittests.c | 4 ++++ test/dpss_read.c | 4 ++++ test/dpss_write.c | 4 ++++ test/gass_append.c | 4 ++++ test/gass_read.c | 4 ++++ test/gass_write.c | 4 ++++ test/hyperslab.c | 4 ++++ test/srb_append.c | 4 ++++ test/srb_read.c | 4 ++++ test/srb_write.c | 4 ++++ test/testhdf5.c | 4 ++++ test/ttsafe.c | 5 ++++- 12 files changed, 48 insertions(+), 1 deletion(-) diff --git a/test/bittests.c b/test/bittests.c index 2c8daef..492691d 100644 --- a/test/bittests.c +++ b/test/bittests.c @@ -9,6 +9,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #define H5T_PACKAGE #include diff --git a/test/dpss_read.c b/test/dpss_read.c index e2cd1c0..c7f4807 100644 --- a/test/dpss_read.c +++ b/test/dpss_read.c @@ -18,6 +18,10 @@ #include #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_GRIDSTORAGE int main(void) { diff --git a/test/dpss_write.c b/test/dpss_write.c index 0fdb7e0..9386195 100644 --- a/test/dpss_write.c +++ b/test/dpss_write.c @@ -17,6 +17,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_GRIDSTORAGE int main(void) { diff --git a/test/gass_append.c b/test/gass_append.c index 30ad6b0..8b20394 100644 --- a/test/gass_append.c +++ b/test/gass_append.c @@ -17,6 +17,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_GASS int main(void) { diff --git a/test/gass_read.c b/test/gass_read.c index 74a39cd..afefae4 100644 --- a/test/gass_read.c +++ b/test/gass_read.c @@ -18,6 +18,10 @@ #include #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_GASS int main(void) { diff --git a/test/gass_write.c b/test/gass_write.c index a4cb44f..ec51411 100644 --- a/test/gass_write.c +++ b/test/gass_write.c @@ -17,6 +17,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_GASS int main(void) { diff --git a/test/hyperslab.c b/test/hyperslab.c index 114336a..b87ce7d 100644 --- a/test/hyperslab.c +++ b/test/hyperslab.c @@ -15,6 +15,10 @@ #include #include +const char *FILENAME[] = { + NULL +}; + #ifndef HAVE_FUNCTION #undef __FUNCTION__ #define __FUNCTION__ "" diff --git a/test/srb_append.c b/test/srb_append.c index 497f51b..9cd6130 100644 --- a/test/srb_append.c +++ b/test/srb_append.c @@ -51,6 +51,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_SRB int main(void) { diff --git a/test/srb_read.c b/test/srb_read.c index 1b4794b..e20085c 100644 --- a/test/srb_read.c +++ b/test/srb_read.c @@ -50,6 +50,10 @@ */ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_SRB int main(void) { diff --git a/test/srb_write.c b/test/srb_write.c index ebc50c6..1de3595 100644 --- a/test/srb_write.c +++ b/test/srb_write.c @@ -51,6 +51,10 @@ #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_SRB int main(void) { diff --git a/test/testhdf5.c b/test/testhdf5.c index ea88a7c..16349d1 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -58,6 +58,10 @@ int Verbosity; /* ANY new test needs to have a prototype in tproto.h */ #include +const char *FILENAME[] = { + NULL +}; + struct TestStruct { int NumErrors; char Description[64]; diff --git a/test/ttsafe.c b/test/ttsafe.c index a228076..ae21c5a 100644 --- a/test/ttsafe.c +++ b/test/ttsafe.c @@ -43,9 +43,12 @@ static char RcsId[] = "@(#)$Revision$"; #endif #include - #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_THREADSAFE int main(void) { -- cgit v0.12