summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 20:40:47 (GMT)
committerFang Guo <fangguo@ncsa.uiuc.edu>2006-03-07 20:40:47 (GMT)
commitde56ebab0eb0b66fcd73ded44d67b54123112ccf (patch)
treea51a67ac3a2362bc890b205d53c4ac3f8c090e5e /src/H5private.h
parent590ef0f9842080715f38c9b41dac29562f3b82ac (diff)
downloadhdf5-de56ebab0eb0b66fcd73ded44d67b54123112ccf.zip
hdf5-de56ebab0eb0b66fcd73ded44d67b54123112ccf.tar.gz
hdf5-de56ebab0eb0b66fcd73ded44d67b54123112ccf.tar.bz2
[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:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h4
1 files 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
-