mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Fix shadowed type
This commit is contained in:
parent
4688f0ac07
commit
ef70c1695d
@ -142,7 +142,7 @@ int TestCompoundDatatype()
|
||||
HDfflush(stdout);
|
||||
|
||||
/* Create compound datatype */
|
||||
typedef struct compoundType
|
||||
typedef struct
|
||||
{
|
||||
short a, b, c;
|
||||
int e;
|
||||
@ -479,7 +479,7 @@ int SystemTest()
|
||||
|
||||
/* Creating two inter-related datatypes. Create two datasets and put
|
||||
* one datatype in each. */
|
||||
typedef struct compoundType
|
||||
typedef struct
|
||||
{
|
||||
short a, b, c;
|
||||
int e;
|
||||
@ -492,7 +492,7 @@ int SystemTest()
|
||||
H5Tinsert(dtypeID1, "charlie", HOFFSET( compoundType, c ), H5T_NATIVE_SHORT);
|
||||
H5Tinsert(dtypeID1, "ebert", HOFFSET( compoundType, e ), H5T_NATIVE_INT);
|
||||
|
||||
typedef struct cType2
|
||||
typedef struct
|
||||
{
|
||||
char f;
|
||||
compoundType g;
|
||||
|
Loading…
Reference in New Issue
Block a user