* posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr

before using it in file exists case.
	* include/mqueue.h (mqd_t): Make non-pointer type.
This commit is contained in:
Corinna Vinschen
2007-02-15 17:49:25 +00:00
parent 93162be554
commit eb8a6636bf
3 changed files with 9 additions and 3 deletions

View File

@ -18,7 +18,7 @@
__BEGIN_DECLS
typedef void *mqd_t;
typedef intptr_t mqd_t;
struct mq_attr {
long mq_flags; /* Message queue flags */