summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 20:47:22 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-08-04 20:47:22 (GMT)
commit37502003540e915215abf5b6a9df80daf8d874e4 (patch)
treed652dbd06bbf855dbe2dc81476163778c3d926bf /tools/h5dump.h
parenta01ff43d8d37904c3dcfc91b8eb31a03a9764a32 (diff)
downloadhdf5-37502003540e915215abf5b6a9df80daf8d874e4.zip
hdf5-37502003540e915215abf5b6a9df80daf8d874e4.tar.gz
hdf5-37502003540e915215abf5b6a9df80daf8d874e4.tar.bz2
[svn-r2462] Fixed some small compiler warnings.
Diffstat (limited to 'tools/h5dump.h')
-rw-r--r--tools/h5dump.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/h5dump.h b/tools/h5dump.h
index 083ac39..af7b348 100644
--- a/tools/h5dump.h
+++ b/tools/h5dump.h
@@ -1,16 +1,17 @@
-#ifndef _H5DUMP_H
-#define _H5DUMP_H
+#ifndef H5DUMP_H__
+#define H5DUMP_H__
#include <hdf5.h>
+#define H5DUMP_MAX_RANK H5S_MAX_RANK
+#define begin_obj(obj,name,begin) \
+ if (name) \
+ printf("%s \"%s\" %s\n", (obj), (name), (begin)); \
+ else \
+ printf("%s %s\n", (obj), (begin));
+#define end_obj(obj,end) \
+ printf("%s %s\n", (end), (obj));
-
-#define H5DUMP_MAX_RANK H5S_MAX_RANK
-
-#define begin_obj(obj,name, begin) if (name) printf("%s \"%s\" %s\n", obj, name, begin); else printf("%s %s\n",obj,begin);
-#define end_obj(obj, end) printf("%s %s\n", end,obj);
-
-
-#endif
+#endif /* H5DUMP_H__ */