mirror of
https://github.com/reactos/reactos.git
synced 2025-04-15 01:47:30 +00:00
Paolo Devoti <devotip@tiscali.it>
- Separated the structure definition from the instance of it. See issue #2037 for more details. svn path=/trunk/; revision=32026
This commit is contained in:
parent
34482cc96a
commit
a1af57e18c
1 changed files with 13 additions and 13 deletions
|
@ -130,10 +130,18 @@ typedef struct _AAL_PARAMETERS_IE {
|
|||
} AALSpecificParameters;
|
||||
} AAL_PARAMETERS_IE, *PAAL_PARAMETERS_IE;
|
||||
|
||||
struct _ATM_AAL5_INFO {
|
||||
BOOLEAN CellLossPriority;
|
||||
UCHAR UserToUserIndication;
|
||||
UCHAR CommonPartIndicator;
|
||||
};
|
||||
|
||||
/* FIXME: Should the union be anonymous in C++ too? If so,
|
||||
can't define named types _ATM_AAL5_INFO and _ATM_AAL0_INFO
|
||||
within anonymous union for C++. */
|
||||
struct _ATM_AAL0_INFO {
|
||||
BOOLEAN CellLossPriority;
|
||||
UCHAR PayLoadTypeIdentifier;
|
||||
};
|
||||
|
||||
/* FIXME: Should the union be anonymous in C++ too? */
|
||||
typedef struct _ATM_AAL_OOB_INFO
|
||||
{
|
||||
ATM_AAL_TYPE AalType;
|
||||
|
@ -141,16 +149,8 @@ typedef struct _ATM_AAL_OOB_INFO
|
|||
_ANONYMOUS_UNION
|
||||
#endif
|
||||
union {
|
||||
struct _ATM_AAL5_INFO {
|
||||
BOOLEAN CellLossPriority;
|
||||
UCHAR UserToUserIndication;
|
||||
UCHAR CommonPartIndicator;
|
||||
} ATM_AAL5_INFO;
|
||||
|
||||
struct _ATM_AAL0_INFO {
|
||||
BOOLEAN CellLossPriority;
|
||||
UCHAR PayLoadTypeIdentifier;
|
||||
} ATM_AAL0_INFO;
|
||||
struct _ATM_AAL5_INFO ATM_AAL5_INFO;
|
||||
struct _ATM_AAL0_INFO ATM_AAL0_INFO;
|
||||
#ifndef __cplusplus
|
||||
} DUMMYUNIONNAME;
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue