mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
Use __syscall_slong_t in bits/mqueue.h
This commit is contained in:
parent
d4261567b7
commit
661768bb50
@ -1,3 +1,8 @@
|
|||||||
|
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
|
||||||
|
(mq_attr): Use __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/bits/stat.h (_STAT_VER_SVR4):
|
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2004 Free Software Foundation, Inc.
|
/* Copyright (C) 2004-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -19,13 +19,15 @@
|
|||||||
# error "Never use <bits/mqueue.h> directly; include <mqueue.h> instead."
|
# error "Never use <bits/mqueue.h> directly; include <mqueue.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bits/types.h>
|
||||||
|
|
||||||
typedef int mqd_t;
|
typedef int mqd_t;
|
||||||
|
|
||||||
struct mq_attr
|
struct mq_attr
|
||||||
{
|
{
|
||||||
long int mq_flags; /* Message queue flags. */
|
__syscall_slong_t mq_flags; /* Message queue flags. */
|
||||||
long int mq_maxmsg; /* Maximum number of messages. */
|
__syscall_slong_t mq_maxmsg; /* Maximum number of messages. */
|
||||||
long int mq_msgsize; /* Maximum message size. */
|
__syscall_slong_t mq_msgsize; /* Maximum message size. */
|
||||||
long int mq_curmsgs; /* Number of messages currently queued. */
|
__syscall_slong_t mq_curmsgs; /* Number of messages currently queued. */
|
||||||
long int __pad[4];
|
__syscall_slong_t __pad[4];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user