aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-28 08:05:11 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-28 08:05:11 +0000
commit6e6f5adcfb61585744c2fd4e1cca44b4034400ca (patch)
tree5b898505743212ee0773efa502a61d8e5d156016 /sysdeps
parenta9a575e676714657eae291655c6a72eb557e2c6b (diff)
downloadglibc-6e6f5adcfb61585744c2fd4e1cca44b4034400ca.tar.xz
glibc-6e6f5adcfb61585744c2fd4e1cca44b4034400ca.zip
(struct cmsghdr): Use __flexarr.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/socket.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h
index ac7ff0795d..ce6fa88c04 100644
--- 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. */