From 7fd9e85f62084d0ca81fbeb27d75e072a48acf6d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 11 Sep 2000 11:07:59 -0500 Subject: [svn-r2532] Added a trivial FILENAME definition to those programs linked with h5test.o, which requires the definition to work... --- 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 | 4 ++++ 12 files changed, 48 insertions(+) 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 6920321..ae21c5a 100644 --- a/test/ttsafe.c +++ b/test/ttsafe.c @@ -45,6 +45,10 @@ static char RcsId[] = "@(#)$Revision$"; #include #include +const char *FILENAME[] = { + NULL +}; + #ifndef H5_HAVE_THREADSAFE int main(void) { -- cgit v0.12