summaryrefslogtreecommitdiffstats
path: root/tools/h5stat
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-12-11 19:14:43 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-12-11 19:14:43 (GMT)
commitaa4fc58ac985ba354525056428d79f918f95d119 (patch)
treec6526fa0d55e8e9cbe365fedd0a431e28c67043c /tools/h5stat
parentf53c939bd05b44d0cfc520f4de870d139ab1e61f (diff)
downloadhdf5-aa4fc58ac985ba354525056428d79f918f95d119.zip
hdf5-aa4fc58ac985ba354525056428d79f918f95d119.tar.gz
hdf5-aa4fc58ac985ba354525056428d79f918f95d119.tar.bz2
[svn-r28599] Normalization of tools with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only, autotools and CMake (3.3.2)
Diffstat (limited to 'tools/h5stat')
-rw-r--r--tools/h5stat/h5stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5stat/h5stat.c b/tools/h5stat/h5stat.c
index ac6ca23..a331014 100644
--- a/tools/h5stat/h5stat.c
+++ b/tools/h5stat/h5stat.c
@@ -310,7 +310,7 @@ static void usage(const char *prog)
*
*-------------------------------------------------------------------------
*/
-static unsigned
+H5_ATTR_CONST static unsigned
ceil_log10(unsigned long x)
{
unsigned long pow10 = 1;
@@ -321,7 +321,7 @@ ceil_log10(unsigned long x)
ret++;
} /* end while */
- return(ret);
+ return ret;
} /* ceil_log10() */