summaryrefslogtreecommitdiffstats
path: root/src/H5Vprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-09-25 21:55:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-09-25 21:55:49 (GMT)
commit18b24252a630750df8345ccfa07ff612d605d340 (patch)
tree885d7d6953f972db837a39e1b45cb78b2e5616e9 /src/H5Vprivate.h
parent274a88f52c4b34ff56d96d8ef648d563f2088885 (diff)
downloadhdf5-18b24252a630750df8345ccfa07ff612d605d340.zip
hdf5-18b24252a630750df8345ccfa07ff612d605d340.tar.gz
hdf5-18b24252a630750df8345ccfa07ff612d605d340.tar.bz2
[svn-r723] Changed some "inline" to "__inline__" in function definitions to better conform
to ANSI standard.
Diffstat (limited to 'src/H5Vprivate.h')
-rw-r--r--src/H5Vprivate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Vprivate.h b/src/H5Vprivate.h
index 895a240..3f7bfbf 100644
--- a/src/H5Vprivate.h
+++ b/src/H5Vprivate.h
@@ -84,7 +84,7 @@ herr_t H5V_array_fill(void *_dst, const void *src, size_t size, size_t count);
*
*-------------------------------------------------------------------------
*/
-static inline hsize_t __unused__
+static __inline__ hsize_t __unused__
H5V_vector_reduce_product(intn n, const hsize_t *v)
{
size_t ans = 1;
@@ -111,7 +111,7 @@ H5V_vector_reduce_product(intn n, const hsize_t *v)
*
*-------------------------------------------------------------------------
*/
-static inline hbool_t __unused__
+static __inline__ hbool_t __unused__
H5V_vector_zerop_u(intn n, const hsize_t *v)
{
if (!v) return TRUE;
@@ -138,7 +138,7 @@ H5V_vector_zerop_u(intn n, const hsize_t *v)
*
*-------------------------------------------------------------------------
*/
-static inline hbool_t __unused__
+static __inline__ hbool_t __unused__
H5V_vector_zerop_s(intn n, const hssize_t *v)
{
if (!v) return TRUE;
@@ -167,7 +167,7 @@ H5V_vector_zerop_s(intn n, const hssize_t *v)
*
*-------------------------------------------------------------------------
*/
-static inline intn __unused__
+static __inline__ intn __unused__
H5V_vector_cmp_u (intn n, const hsize_t *v1, const hsize_t *v2)
{
if (v1 == v2) return 0;
@@ -200,7 +200,7 @@ H5V_vector_cmp_u (intn n, const hsize_t *v1, const hsize_t *v2)
*
*-------------------------------------------------------------------------
*/
-static inline intn __unused__
+static __inline__ intn __unused__
H5V_vector_cmp_s (intn n, const hssize_t *v1, const hssize_t *v2)
{
if (v1 == v2) return 0;
@@ -228,7 +228,7 @@ H5V_vector_cmp_s (intn n, const hssize_t *v1, const hssize_t *v2)
*
*-------------------------------------------------------------------------
*/
-static inline void __unused__
+static __inline__ void __unused__
H5V_vector_inc(intn n, hsize_t *v1, const hsize_t *v2)
{
while (n--) *v1++ += *v2++;