summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_ref.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-06 19:32:20 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-06 19:32:20 (GMT)
commit60b03e6af7e6d14a7dcdd861e03cb8d300bc31ec (patch)
tree3fa2e12e8aaf46d42e1cbfba344b6c6b00a9bf02 /tools/lib/h5tools_ref.c
parent49b662bd0d0ea818dd53bac407070a711f45ef03 (diff)
downloadhdf5-60b03e6af7e6d14a7dcdd861e03cb8d300bc31ec.zip
hdf5-60b03e6af7e6d14a7dcdd861e03cb8d300bc31ec.tar.gz
hdf5-60b03e6af7e6d14a7dcdd861e03cb8d300bc31ec.tar.bz2
[svn-r13025]
compiler warning clean ../../../hdf5/tools/lib/h5tools_ref.c:257: warning: old-style parameter declaration
Diffstat (limited to 'tools/lib/h5tools_ref.c')
-rw-r--r--tools/lib/h5tools_ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_ref.c b/tools/lib/h5tools_ref.c
index 5d6cfae..60d3c67 100644
--- a/tools/lib/h5tools_ref.c
+++ b/tools/lib/h5tools_ref.c
@@ -254,7 +254,7 @@ ref_path_table_put(const char *path, haddr_t objno)
*/
int xid = 1;
-int get_next_xid() {
+int get_next_xid(void) {
return xid++;
}
@@ -266,7 +266,7 @@ int get_next_xid() {
*/
haddr_t fake_xid = HADDR_MAX;
haddr_t
-get_fake_xid () {
+get_fake_xid (void) {
return (fake_xid--);
}