diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-10-09 00:34:04 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-10-09 00:34:04 (GMT) |
commit | acc0841fe5c2623545cf061fbc77cb98ca2fd799 (patch) | |
tree | 7fa137c8acf175be242ebf5b50b05821f09b919d /examples | |
parent | f5db00939a997fe507cccc4de0440d7fd381a12e (diff) | |
download | hdf5-acc0841fe5c2623545cf061fbc77cb98ca2fd799.zip hdf5-acc0841fe5c2623545cf061fbc77cb98ca2fd799.tar.gz hdf5-acc0841fe5c2623545cf061fbc77cb98ca2fd799.tar.bz2 |
[svn-r1738] Took out the "UNUSED" macros from the parameter lists, they were confusing the
HP compiler.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/h5_attribute.c | 2 | ||||
-rw-r--r-- | examples/h5_group.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 890cc3e..fd41b0d 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -198,7 +198,7 @@ main (void) * Operator function. */ herr_t -attr_info(hid_t loc_id, const char *name, void UNUSED *opdata) +attr_info(hid_t loc_id, const char *name, void *opdata) { hid_t attr, atype, aspace; /* Attribute, datatype and dataspace identifiers */ int rank; diff --git a/examples/h5_group.c b/examples/h5_group.c index f75bc36..00f9426 100644 --- a/examples/h5_group.c +++ b/examples/h5_group.c @@ -151,7 +151,7 @@ main(void) /* * Operator function. */ -herr_t file_info(hid_t UNUSED loc_id, const char *name, void UNUSED *opdata) +herr_t file_info(hid_t loc_id, const char *name, void *opdata) { /* * Display group name. The name is passed to the function by @@ -168,7 +168,7 @@ herr_t file_info(hid_t UNUSED loc_id, const char *name, void UNUSED *opdata) /* * Operator function. */ -herr_t group_info(hid_t loc_id, const char *name, void UNUSED *opdata) +herr_t group_info(hid_t loc_id, const char *name, void *opdata) { hid_t did; /* dataset identifier */ hid_t tid; /* datatype identifier */ |