aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-10 21:55:11 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-10 21:55:11 +0000
commite52211654153ff16d8f1140195e46ac8da847b33 (patch)
treed4cd09e5b191cf3dc982fc01930e4b072b3ed0bb
parentd049b7124780b0f3b34ce09c5470797b7c892a08 (diff)
downloadglibc-e52211654153ff16d8f1140195e46ac8da847b33.tar
glibc-e52211654153ff16d8f1140195e46ac8da847b33.tar.gz
glibc-e52211654153ff16d8f1140195e46ac8da847b33.tar.bz2
glibc-e52211654153ff16d8f1140195e46ac8da847b33.zip
Update.
2000-06-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark __cmsg_data field with __extension__.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f40c9518a..5e8d6d37b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index bd3dd9f4f6..1c8b30b7c8 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -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
};