projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a575e
)
(struct cmsghdr): Use __flexarr.
author
Andreas Jaeger
<aj@suse.de>
Tue, 28 Nov 2000 08:05:11 +0000
(08:05 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Tue, 28 Nov 2000 08:05:11 +0000
(08:05 +0000)
sysdeps/unix/sysv/linux/mips/bits/socket.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/mips/bits/socket.h
b/sysdeps/unix/sysv/linux/mips/bits/socket.h
index
ac7ff07
..
ce6fa88
100644
(file)
--- a/
sysdeps/unix/sysv/linux/mips/bits/socket.h
+++ b/
sysdeps/unix/sysv/linux/mips/bits/socket.h
@@
-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. */