2000-06-10  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
	__cmsg_data field with __extension__.
This commit is contained in:
Ulrich Drepper 2000-06-10 21:55:11 +00:00
parent d049b71247
commit e522116541
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-06-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
__cmsg_data field with __extension__.
2000-06-10 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.

View File

@ -228,7 +228,7 @@ struct cmsghdr
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. */
__extension__ unsigned char __cmsg_data[0]; /* Ancillary data. */
/* XXX Perhaps this should be removed. */
#endif
};