summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2006-03-07 06:13:23 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2006-03-07 06:13:23 (GMT)
commit9fc71ccba43a9c8bc97dffa847c3f0b50f408866 (patch)
tree1b620ebb34fad2818597def01f22a2dc842d2ebe /src/H5.c
parent840bcbe9ef762ae755df3f97fdac15d84df8909f (diff)
downloadhdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.zip
hdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.tar.gz
hdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.tar.bz2
[svn-r12021] Purpose:
Bug fix. Description: Fix typo. srand/srandom don't return anything, so don't attempt to return their value. Solution: Platforms tested: heping Misc. update:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index 6f13e9c..724ea35 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -3154,8 +3154,8 @@ void HDsrand(unsigned int seed)
#ifdef H5_HAVE_RAND_R
g_seed = seed;
#elif H5_HAVE_RANDOM
- return srandom(seed);
+ srandom(seed);
#else
- return srand(seed);
+ srand(seed);
#endif
}