summaryrefslogtreecommitdiffstats
path: root/test/ragged.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-10 22:27:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-10 22:27:51 (GMT)
commit376d1b62d976e1689eae72735c6783b8b82f3aa5 (patch)
tree8dc797110d728cabfe76ef8e653c8ab90c190b57 /test/ragged.c
parent38865598298878b740e6cdc1fbd60f4f386f5c71 (diff)
downloadhdf5-376d1b62d976e1689eae72735c6783b8b82f3aa5.zip
hdf5-376d1b62d976e1689eae72735c6783b8b82f3aa5.tar.gz
hdf5-376d1b62d976e1689eae72735c6783b8b82f3aa5.tar.bz2
[svn-r2862] Purpose:
Bug fix. Description: Had been using older-style "HAVE_foo" macros instead of newer "H5_HAVE_foo" macros. Solution: Added a "H5_" to all the "HAVE_foo" macros. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'test/ragged.c')
-rw-r--r--test/ragged.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/ragged.c b/test/ragged.c
index 4fb4f73..2f5a3c4 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -33,30 +33,30 @@ typedef struct {
#if 1
/* Typical VBT sizes */
static quant_t quant_g[] = {
- {10.00, 1, 5},
- {89.00, 6, 20},
- { 0.90, 21, 100},
- { 0.09, 101, 1000},
- { 0.01, 1001, 10000},
+ {10.00, 1, 5, 0},
+ {89.00, 6, 20, 0},
+ { 0.90, 21, 100, 0},
+ { 0.09, 101, 1000, 0},
+ { 0.01, 1001, 10000, 0},
};
#elif 0
/* Sizes for testing */
static quant_t quant_g[] = {
- {10.0, 1, 5},
- {80.0, 6, 15},
- {10.0, 16, 20},
+ {10.0, 1, 5, 0},
+ {80.0, 6, 15, 0},
+ {10.0, 16, 20, 0},
};
#elif 0
/* Larger I/O */
static quant_t quant_g[] = {
- {10.0, 1, 1000},
- {80.0, 1001, 5000},
- {10.0, 5001, 10000},
+ {10.0, 1, 1000, 0},
+ {80.0, 1001, 5000, 0},
+ {10.0, 5001, 10000, 0},
};
#else
/* All same size */
static quant_t quant_g[] = {
- {100.0, 1000, 1000}
+ {100.0, 1000, 1000, 0}
};
#endif
@@ -648,7 +648,7 @@ main(int argc, char *argv[])
H5Eset_auto(display_error_cb, NULL);
/* Get a SIGALRM every few seconds */
-#ifdef HAVE_SIGACTION
+#ifdef H5_HAVE_SIGACTION
{
struct sigaction act;
act.sa_handler = catch_alarm;