Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/kernel PR/51871: Ngie Cooper: add fcntl.h for O_* fcnt...



details:   https://anonhg.NetBSD.org/src/rev/1f93c8a7801b
branches:  trunk
changeset: 820769:1f93c8a7801b
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 20:57:24 2017 +0000

description:
PR/51871: Ngie Cooper: add fcntl.h for O_* fcntl/open constants

diffstat:

 tests/kernel/t_mqueue.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 14bdcfd46ee5 -r 1f93c8a7801b tests/kernel/t_mqueue.c
--- a/tests/kernel/t_mqueue.c   Sat Jan 14 20:55:26 2017 +0000
+++ b/tests/kernel/t_mqueue.c   Sat Jan 14 20:57:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_mqueue.c,v 1.5 2017/01/10 22:10:22 christos Exp $ */
+/*     $NetBSD: t_mqueue.c,v 1.6 2017/01/14 20:57:24 christos Exp $ */
 
 /*
  * Test for POSIX message queue priority handling.
@@ -6,17 +6,17 @@
  * This file is in the Public Domain.
  */
 
-#include <atf-c.h>
 #include <sys/stat.h>
 
+#include <atf-c.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <mqueue.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <errno.h>
 #include <unistd.h>
 
-#include <mqueue.h>
-
 #define        MQ_PRIO_BASE    24
 
 static void



Home | Main Index | Thread Index | Old Index