From de56ebab0eb0b66fcd73ded44d67b54123112ccf Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Tue, 7 Mar 2006 15:40:47 -0500 Subject: [svn-r12035] Purpose: Description: Two functions (HDsrand and HDrand) are not declared. They caused compiling errors on Windows. Declare these two functions: H5_DLL int HDrand(); H5_DLL void HDsrand(unsigned int seed); Solution: Platforms tested: Windows XP and heping Misc. update: --- src/H5private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5private.h b/src/H5private.h index 6c1a40b..609fd42 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -772,6 +772,8 @@ 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 void HDsrand(unsigned int seed); #define HDrandom() HDrand() #define HDsrandom(S) HDsrand(S) #define HDread(F,M,Z) read(F,M,Z) @@ -1407,6 +1409,4 @@ H5_DLL int H5Z_term_interface(void); /* Functions for debugging */ H5_DLL herr_t H5_buffer_dump(FILE *stream, int indent, uint8_t *buf, uint8_t *marker, size_t buf_offset, size_t buf_size); - #endif - -- cgit v0.12