summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-04-15 19:57:50 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-04-15 19:57:50 (GMT)
commit43c356f93dd4beb691abf8e5acb692438a5f8f00 (patch)
tree5c62c13f1c836def696b3bcc31b02df76aa7faea /src/H5T.c
parent77d7a3328b044ae71a03bfc6aaac2af4d6eac923 (diff)
downloadhdf5-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 'src/H5T.c')
-rw-r--r--src/H5T.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5T.c b/src/H5T.c
index e1d9dd1..4919617 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -1073,7 +1073,7 @@ H5T_init_interface(void)
*-------------------------------------------------------------------------
*/
static intn
-H5T_unlock_cb (void *_dt, const void __unused__ *key)
+H5T_unlock_cb (void *_dt, const void UNUSED *key)
{
H5T_t *dt = (H5T_t *)_dt;
@@ -5108,9 +5108,10 @@ H5T_pack(H5T_t *dt)
FUNC_ENTER(H5T_pack, FAIL);
assert(dt);
- assert(H5T_STATE_TRANSIENT==dt->state);
if (H5T_COMPOUND == dt->type) {
+ assert(H5T_STATE_TRANSIENT==dt->state);
+
/* Recursively pack the members */
for (i=0; i<dt->u.compnd.nmembs; i++) {
if (H5T_pack(dt->u.compnd.memb[i].type) < 0) {
@@ -6266,7 +6267,7 @@ H5T_entof (H5T_t *dt)
*-------------------------------------------------------------------------
*/
static herr_t
-H5T_print_stats(H5T_path_t __unused__ *path, intn __unused__ *nprint/*in,out*/)
+H5T_print_stats(H5T_path_t UNUSED *path, intn UNUSED *nprint/*in,out*/)
{
#ifdef H5T_DEBUG
hsize_t nbytes;