From 40054ee38738b26dad65a961e4f7980582222b2c Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Mon, 8 May 2006 15:31:21 -0500 Subject: [svn-r12341] Purpose: Maintenance Description: dtypes.c compilation failed with gcc 4.1 due to the missing prototype of the opaque_funcs function. Failure was reported by a user who tried to build hdf5-1.8.0-alpha2. I reproduced the failure on sleipnir with gcc41 compiler. Solution: Added prototype definition. Platforms tested: sleipnir with gcc41, heping and copper Misc. update: --- test/dtypes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dtypes.c b/test/dtypes.c index acfda55..20743bd 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -99,6 +99,7 @@ static herr_t convert_opaque(hid_t UNUSED st, hid_t UNUSED dt, size_t UNUSED bkg_stride, void UNUSED *_buf, void UNUSED *bkg, hid_t UNUSED dset_xfer_plid); static int opaque_long(void); +static int opaque_funcs(void); /*------------------------------------------------------------------------- -- cgit v0.12