diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-16 10:22:18 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-16 10:22:18 -0700 |
commit | 180be88bf57c967a66e7152e58147a01d78a63cc (patch) | |
tree | a8bb7db7e6eb29da0043ad6c373176a6b72a3292 | |
parent | 5e90c8ad55a1196846e2b06e3f6a6d3c805542e0 (diff) | |
download | glibc-180be88bf57c967a66e7152e58147a01d78a63cc.zip glibc-180be88bf57c967a66e7152e58147a01d78a63cc.tar.gz glibc-180be88bf57c967a66e7152e58147a01d78a63cc.tar.bz2 |
Replace long int with __syscall_slong_t in sys/msg.h
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysvipc/sys/msg.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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 include <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE. diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h index 4c8d62c..0dd9899 100644 --- a/sysvipc/sys/msg.h +++ b/sysvipc/sys/msg.h @@ -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 |