summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
}