diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-04-15 19:57:50 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-04-15 19:57:50 (GMT) |
commit | 43c356f93dd4beb691abf8e5acb692438a5f8f00 (patch) | |
tree | 5c62c13f1c836def696b3bcc31b02df76aa7faea /test | |
parent | 77d7a3328b044ae71a03bfc6aaac2af4d6eac923 (diff) | |
download | hdf5-43c356f93dd4beb691abf8e5acb692438a5f8f00.zip hdf5-43c356f93dd4beb691abf8e5acb692438a5f8f00.tar.gz hdf5-43c356f93dd4beb691abf8e5acb692438a5f8f00.tar.bz2 |
[svn-r1184] Changes since 19990402
----------------------
./config/commence.in
./config/conclude.in
./test/Makefile.in
./tools/Makefile.in
Fixed so private libraries are not installed publicly.
The installation directories `bin', `include', and `lib' are
created mode 755.
./src/H5.c
./src/H5A.c
./src/H5F.c
./src/H5Fcore.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fmpio.c
./src/H5Fsec2.c
./src/H5Fstdio.c
./src/H5G.c
./src/H5Gent.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
./src/H5Oattr.c
./src/H5Ocomp.c
./src/H5Ocont.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Ofill.c
./src/H5Olayout.c
./src/H5Omtime.c
./src/H5Oname.c
./src/H5Osdspace.c
./src/H5Oshared.c
./src/H5Ostab.c
./src/H5R.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Smpio.c
./src/H5Snone.c
./src/H5Spoint.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Vprivate.h
./src/H5Z.c
./src/H5detect.c
./src/H5private.h
./test/chunk.c
./test/dsets.c
./test/dtypes.c
./test/h5test.c
./test/overhead.c
./test/ragged.c
./test/tattr.c
./tools/h5dump.c
./tools/h5findshd.c
./tools/h5ls.c
Changed `__unused__' to `UNUSED' to fix a conflict with GNU
header files.
./src/H5Tpkg.h
./test/h5test.h
Removed __unused__ from forward function declarations.
./src/H5P.c
Removed a comment about restrictions for the type conversion
temporary buffers. Thanks to Quincey, the comment no longer
applied.
./src/H5T.c
Relaxed the H5Tpack() a little so it would pack compound data
structures that had non-transient atomic members.
./tools/h5ls.c
Added a `-g' (or `--group') flag that causes information to be
printed about the specified group instead of the group's
contents. (sort of like Unix's `ls -d'). The `-g' can be used
in combination with `-r' to print information about the group
and its contents.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.in | 1 | ||||
-rw-r--r-- | test/chunk.c | 10 | ||||
-rw-r--r-- | test/dsets.c | 6 | ||||
-rw-r--r-- | test/dtypes.c | 6 | ||||
-rw-r--r-- | test/h5test.c | 2 | ||||
-rw-r--r-- | test/h5test.h | 2 | ||||
-rw-r--r-- | test/overhead.c | 6 | ||||
-rw-r--r-- | test/ragged.c | 4 | ||||
-rw-r--r-- | test/tattr.c | 2 |
9 files changed, 20 insertions, 19 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index c8d880b..99b201b 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -30,6 +30,7 @@ LIBHDF5=../src/libhdf5.la LIB=libh5test.a LIB_SRC=h5test.c LIB_OBJ=$(LIB_SRC:.c=.o) +PUB_LIB= # Temporary files. These files are the ones created by setting the # HDF5_NOCLEANUP environment variable and running `make test' without diff --git a/test/chunk.c b/test/chunk.c index 5a00535..738dd21 100644 --- a/test/chunk.c +++ b/test/chunk.c @@ -25,9 +25,9 @@ #ifndef HAVE_ATTRIBUTE # undef __attribute__ # define __attribute__(X) /*void*/ -# define __unused__ /*void*/ +# define UNUSED /*void*/ #else -# define __unused__ __attribute__((unused)) +# define UNUSED __attribute__((unused)) #endif #define FILE_NAME "chunk.h5" @@ -82,9 +82,9 @@ static hid_t fapl_g = -1; *------------------------------------------------------------------------- */ static size_t -counter (unsigned __unused__ flags, size_t __unused__ cd_nelmts, - const unsigned __unused__ *cd_values, size_t nbytes, - size_t __unused__ *buf_size, void __unused__ **buf) +counter (unsigned UNUSED flags, size_t UNUSED cd_nelmts, + const unsigned UNUSED *cd_values, size_t nbytes, + size_t UNUSED *buf_size, void UNUSED **buf) { nio_g += nbytes; return nbytes; diff --git a/test/dsets.c b/test/dsets.c index 4b221b2..a9cf40e 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -313,9 +313,9 @@ test_tconv(hid_t file) *------------------------------------------------------------------------- */ static size_t -bogus(unsigned int __unused__ flags, size_t __unused__ cd_nelmts, - const unsigned int __unused__ cd_values[], size_t nbytes, - size_t __unused__ *buf_size, void __unused__ **buf) +bogus(unsigned int UNUSED flags, size_t UNUSED cd_nelmts, + const unsigned int UNUSED cd_values[], size_t nbytes, + size_t UNUSED *buf_size, void UNUSED **buf) { return nbytes; } diff --git a/test/dtypes.c b/test/dtypes.c index 04e5737..0e164c7 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -109,7 +109,7 @@ void some_dummy_func(float x); *------------------------------------------------------------------------- */ static void -fpe_handler(int __unused__ signo) +fpe_handler(int UNUSED signo) { SKIPPED(); puts(" Test skipped due to SIGFPE."); @@ -139,8 +139,8 @@ fpe_handler(int __unused__ signo) */ #ifdef SHOW_OVERFLOWS static herr_t -overflow_handler(hid_t __unused__ src_id, hid_t __unused__ dst_id, - void __unused__ *src_buf, void __unused__ *dst_buf) +overflow_handler(hid_t UNUSED src_id, hid_t UNUSED dst_id, + void UNUSED *src_buf, void UNUSED *dst_buf) { noverflows_g++; return -1; diff --git a/test/h5test.c b/test/h5test.c index 59ac0b8..861b0f0 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -51,7 +51,7 @@ *------------------------------------------------------------------------- */ herr_t -h5_errors(void __unused__ *client_data) +h5_errors(void UNUSED *client_data) { FAILED(); H5Eprint (stdout); diff --git a/test/h5test.h b/test/h5test.h index fc26f2f..a5b81da 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -55,7 +55,7 @@ extern "C" { #endif int h5_cleanup(hid_t fapl); -herr_t h5_errors(void __unused__ *client_data); +herr_t h5_errors(void *client_data); char *h5_fixname(const char *basename, hid_t fapl, char *fullname, size_t size); hid_t h5_fileaccess(void); diff --git a/test/overhead.c b/test/overhead.c index 4656fa5..2852064 100644 --- a/test/overhead.c +++ b/test/overhead.c @@ -36,9 +36,9 @@ #ifndef HAVE_ATTRIBUTE # undef __attribute__ # define __attribute__(X) /*void*/ -# define __unused__ /*void*/ +# define UNUSED /*void*/ #else -# define __unused__ __attribute__((unused)) +# define UNUSED __attribute__((unused)) #endif #define FILE_NAME_1 "overhead.h5" @@ -146,7 +146,7 @@ cleanup (void) *------------------------------------------------------------------------- */ static herr_t -display_error_cb (void __unused__ *client_data) +display_error_cb (void UNUSED *client_data) { puts ("*FAILED*"); H5Eprint (stdout); diff --git a/test/ragged.c b/test/ragged.c index 6b75dab..b40e3b1 100644 --- a/test/ragged.c +++ b/test/ragged.c @@ -80,7 +80,7 @@ static volatile sig_atomic_t timeout_g = 0; *------------------------------------------------------------------------- */ static void -catch_alarm(int __unused__ signum) +catch_alarm(int UNUSED signum) { static int ncalls=0; @@ -110,7 +110,7 @@ catch_alarm(int __unused__ signum) *------------------------------------------------------------------------- */ static herr_t -display_error_cb (void __unused__ *client_data) +display_error_cb (void UNUSED *client_data) { putchar('\n'); H5Eprint (stdout); diff --git a/test/tattr.c b/test/tattr.c index c548974..371ff7c 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -1003,7 +1003,7 @@ test_attr_mult_read(void) ** attr_op1(): Attribute operator ** ****************************************************************/ -int attr_op1(hid_t __unused__ loc_id, const char *name, void *op_data) +int attr_op1(hid_t UNUSED loc_id, const char *name, void *op_data) { int *count=(int *)op_data; int ret=0; |