mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
(struct cmsghdr): Use __flexarr.
This commit is contained in:
parent
a9a575e676
commit
6e6f5adcfb
@ -227,10 +227,8 @@ struct cmsghdr
|
||||
of cmsghdr structure. */
|
||||
int cmsg_level; /* Originating protocol. */
|
||||
int cmsg_type; /* Protocol specific type. */
|
||||
#if !defined __STRICT_ANSI__ && defined __GNUC__ && __GNUC__ >= 2
|
||||
unsigned char __cmsg_data[0]; /* Ancillary data. */
|
||||
unsigned char __cmsg_data __flexarr; /* Ancillary data. */
|
||||
/* XXX Perhaps this should be removed. */
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Ancillary data object manipulation macros. */
|
||||
|
Loading…
Reference in New Issue
Block a user