From 60b03e6af7e6d14a7dcdd861e03cb8d300bc31ec Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 6 Dec 2006 14:32:20 -0500 Subject: [PATCH] [svn-r13025] compiler warning clean ../../../hdf5/tools/lib/h5tools_ref.c:257: warning: old-style parameter declaration --- tools/lib/h5tools_ref.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lib/h5tools_ref.c b/tools/lib/h5tools_ref.c index 5d6cfaed1a..60d3c67180 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--); }