From 6f6fc9d7e1007877e325249410f26b96b14edfc8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 28 Nov 2000 08:05:11 +0000 Subject: (struct cmsghdr): Use __flexarr. --- sysdeps/unix/sysv/linux/bits/socket.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/bits') diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 98e5b65ac7..fef4ab1c75 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/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 - __extension__ unsigned char __cmsg_data[0]; /* Ancillary data. */ + __extension__ unsigned char __flexarr; /* Ancillary data. */ /* XXX Perhaps this should be removed. */ -#endif }; /* Ancillary data object manipulation macros. */ -- cgit 1.4.1