Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys PR/51891: Ngie Cooper: use sys/disklabel....



details:   https://anonhg.NetBSD.org/src/rev/8e56b415741c
branches:  trunk
changeset: 820949:8e56b415741c
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 16 16:31:05 2017 +0000

description:
PR/51891: Ngie Cooper: use sys/disklabel.h instead of machine/disklabel.h

diffstat:

 tests/lib/libc/sys/t_mmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r c13921a8f9b2 -r 8e56b415741c tests/lib/libc/sys/t_mmap.c
--- a/tests/lib/libc/sys/t_mmap.c       Mon Jan 16 16:29:54 2017 +0000
+++ b/tests/lib/libc/sys/t_mmap.c       Mon Jan 16 16:31:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mmap.c,v 1.11 2017/01/13 20:43:11 christos Exp $ */
+/* $NetBSD: t_mmap.c,v 1.12 2017/01/16 16:31:05 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -55,9 +55,10 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_mmap.c,v 1.11 2017/01/13 20:43:11 christos Exp $");
+__RCSID("$NetBSD: t_mmap.c,v 1.12 2017/01/16 16:31:05 christos Exp $");
 
 #include <sys/param.h>
+#include <sys/disklabel.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
@@ -73,7 +74,6 @@
 #include <string.h>
 #include <unistd.h>
 #include <paths.h>
-#include <machine/disklabel.h>
 
 static long    page = 0;
 static char    path[] = "mmap";



Home | Main Index | Thread Index | Old Index