diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-04 17:01:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-03-04 17:01:02 (GMT) |
commit | afdf7fcfa6adbadf46f71ccdea52bef769d5285d (patch) | |
tree | 18b3f10a9f6a8cd218b683c9e7b2d42a7b820f8c | |
parent | 6e74389773a108a2700378387718e6ac5dd0d9e4 (diff) | |
download | hdf5-afdf7fcfa6adbadf46f71ccdea52bef769d5285d.zip hdf5-afdf7fcfa6adbadf46f71ccdea52bef769d5285d.tar.gz hdf5-afdf7fcfa6adbadf46f71ccdea52bef769d5285d.tar.bz2 |
[svn-r10144] Purpose:
Bug fix
Description:
The GASS VFL driver header file was bringing in the <string.h> header file,
which several other source code modules needed also, but weren't including
explicitly themselves.
Solution:
Add includes for <string.h> to files which actually need them.
Platforms tested:
FreeBSD 4.11 (sleipnir) w/C++ as CC
Configuration not tested by h5committest...
-rw-r--r-- | hl/test/test_ds.c | 1 | ||||
-rw-r--r-- | hl/test/test_table.c | 1 | ||||
-rw-r--r-- | src/H5FDmulti.c | 1 | ||||
-rw-r--r-- | src/H5FDstdio.c | 1 | ||||
-rw-r--r-- | tools/h5diff/h5diff_common.c | 1 | ||||
-rw-r--r-- | tools/h5repack/h5repack.h | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index 501aa35..83ab7f7 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -16,6 +16,7 @@ #include "H5DS.h" #include "H5LT.h" #include <stdlib.h> +#include <string.h> /* operator functions */ static herr_t verifiy_scale(hid_t dset, unsigned dim, hid_t scale, void *visitor_data); diff --git a/hl/test/test_table.c b/hl/test/test_table.c index 82c6d91..42987b2 100644 --- a/hl/test/test_table.c +++ b/hl/test/test_table.c @@ -16,6 +16,7 @@ #include "H5TB.h" #include <stdlib.h> +#include <string.h> #include <assert.h> #define TEST_FILE_BE "test_table_be.hdf5" diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c index e54faf6..c2da0b8 100644 --- a/src/H5FDmulti.c +++ b/src/H5FDmulti.c @@ -25,6 +25,7 @@ */ #include <assert.h> #include <stdlib.h> +#include <string.h> /* Disable certain warnings in PC-Lint: */ /*lint --emacro( {534, 830}, H5P_DEFAULT, H5P_FILE_ACCESS, H5P_DATASET_XFER) */ diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index 9c86c39..0dd2901 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -25,6 +25,7 @@ */ #include <assert.h> #include <stdlib.h> +#include <string.h> #include <sys/stat.h> /* Disable certain warnings in PC-Lint: */ diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index 640bea4..5c3e793 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -13,6 +13,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include <stdlib.h> +#include <string.h> #include "h5diff.h" #include "h5diff_common.h" diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index 434131c..315079d 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -16,6 +16,7 @@ #ifndef H5REPACK_H__ #define H5REPACK_H__ +#include <string.h> #include "hdf5.h" #include "h5trav.h" #include "h5diff.h" |