Replace long int with __syscall_slong_t in sys/msg.h

This commit is contained in:
H.J. Lu 2012-05-16 10:22:18 -07:00
parent 5e90c8ad55
commit 180be88bf5
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't

View File

@ -51,7 +51,7 @@ typedef __ssize_t ssize_t;
/* Template for struct to be used as argument for `msgsnd' and `msgrcv'. */ /* Template for struct to be used as argument for `msgsnd' and `msgrcv'. */
struct msgbuf 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 */ char mtext[1]; /* text of the message */
}; };
#endif #endif