This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
MIPS bits/socket.h update (AF_NFC, PF_NFC)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Mon, 25 Jul 2011 15:21:29 +0000 (UTC)
- Subject: MIPS bits/socket.h update (AF_NFC, PF_NFC)
I've applied this patch to update the MIPS bits/socket.h for a recent libc
change. Alpha and PA maintainers may wish to do the same for their ports.
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 9abc018..aa29c02 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,8 @@
+2011-07-25 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
+ Define.
+
2011-06-20 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h
index 698d508..2399490 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h
@@ -111,7 +111,8 @@ enum __socket_type
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
#define PF_CAIF 37 /* CAIF sockets. */
#define PF_ALG 38 /* Algorithm sockets. */
-#define PF_MAX 39 /* For now.. */
+#define PF_NFC 39 /* NFC sockets. */
+#define PF_MAX 40 /* For now.. */
/* Address families. */
#define AF_UNSPEC PF_UNSPEC
@@ -154,6 +155,7 @@ enum __socket_type
#define AF_IEEE802154 PF_IEEE802154
#define AF_CAIF PF_CAIF
#define AF_ALG PF_ALG
+#define AF_NFC PF_NFC
#define AF_MAX PF_MAX
/* Socket level values. Others are defined in the appropriate headers.
--
Joseph S. Myers
joseph@codesourcery.com