summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-03-12 02:02:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-03-12 02:02:50 (GMT)
commit81e95888f191926b266b665b57a3f8d5f2ff2807 (patch)
treecf80ac6188218310a45d132a9d8f18280952a2c5
parent2501750f5e1ef612f8ab3d7112c0f29381be6466 (diff)
downloadhdf5-81e95888f191926b266b665b57a3f8d5f2ff2807.zip
hdf5-81e95888f191926b266b665b57a3f8d5f2ff2807.tar.gz
hdf5-81e95888f191926b266b665b57a3f8d5f2ff2807.tar.bz2
[svn-r12082] Purpose:
Bug fix Description: Clean up a few code mis-matches that crept in during the last checkin. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5commitest
-rw-r--r--src/H5HFint.c2
-rw-r--r--src/H5HFpkg.h2
-rw-r--r--src/H5private.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5HFint.c b/src/H5HFint.c
index 61c4daf..151b19f 100644
--- a/src/H5HFint.c
+++ b/src/H5HFint.c
@@ -44,7 +44,7 @@
/* Limit on the size of the max. direct block size */
/* (This is limited to 32-bits currently, because I think it's unlikely to
- * need to be larger, and the 32-bit limit for H5V_log2(n) - QAK)
+ * need to be larger, and the 32-bit limit for H5V_log2_of2(n) - QAK)
*/
#define H5HL_MAX_DIRECT_SIZE_LIMIT ((hsize_t)2 * 1024 * 1024 * 1024)
diff --git a/src/H5HFpkg.h b/src/H5HFpkg.h
index 8f79343..c633919 100644
--- a/src/H5HFpkg.h
+++ b/src/H5HFpkg.h
@@ -112,7 +112,7 @@
/* Compute the # of bytes required to store an offset into a given buffer size */
#define H5HF_SIZEOF_OFFSET_BITS(b) (((b) + 7) / 8)
-#define H5HF_SIZEOF_OFFSET_LEN(l) H5HF_SIZEOF_OFFSET_BITS(H5V_log2((unsigned)(l)))
+#define H5HF_SIZEOF_OFFSET_LEN(l) H5HF_SIZEOF_OFFSET_BITS(H5V_log2_of2((unsigned)(l)))
/****************************/
/* Package Private Typedefs */
diff --git a/src/H5private.h b/src/H5private.h
index 5d1494f..294f3ff 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -773,7 +773,7 @@ typedef off_t h5_stat_size_t;
#define HDputs(S) puts(S)
#define HDqsort(M,N,Z,F) qsort(M,N,Z,F)
#define HDraise(N) raise(N)
-H5_DLL int HDrand();
+H5_DLL int HDrand(void);
H5_DLL void HDsrand(unsigned int seed);
#define HDrandom() HDrand()
#define HDsrandom(S) HDsrand(S)