]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Replace long int with __syscall_slong_t in sys/msg.h
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 16 May 2012 17:22:18 +0000 (10:22 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 16 May 2012 17:22:18 +0000 (10:22 -0700)
ChangeLog
sysvipc/sys/msg.h

index 52507ca721d73abc0e81a73a5c8d1878f3036204..afe5501aa06d1aa385e55c493983f67c92ccc022 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysvipc/sys/msg.h (msgbuf): Replace long int with
+       __syscall_slong_t.
+
 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
index 4c8d62cbf7dc1ef3c3ea58530adcd47d3dda9d6f..0dd98991a090dbcabcf62edbccf1c6bc34d1092a 100644 (file)
@@ -51,7 +51,7 @@ typedef __ssize_t ssize_t;
 /* Template for struct to be used as argument for `msgsnd' and `msgrcv'.  */
 struct msgbuf
   {
-    long int mtype;            /* type of received/sent message */
+    __syscall_slong_t mtype;   /* type of received/sent message */
     char mtext[1];             /* text of the message */
   };
 #endif