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 Revert previous change in t_ptrace.c



details:   https://anonhg.NetBSD.org/src/rev/fbc0e4ab14ca
branches:  trunk
changeset: 361834:fbc0e4ab14ca
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon May 14 12:44:40 2018 +0000

description:
Revert previous change in t_ptrace.c

By a mistake this file started to include <sys/mman.h>
This is not needed.

The include was intended to be add just in t_ptrace_wait.c.

Sponsored by <The NetBSD Foundation>

diffstat:

 tests/lib/libc/sys/t_ptrace.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 2c7b93311f3f -r fbc0e4ab14ca tests/lib/libc/sys/t_ptrace.c
--- a/tests/lib/libc/sys/t_ptrace.c     Mon May 14 12:42:34 2018 +0000
+++ b/tests/lib/libc/sys/t_ptrace.c     Mon May 14 12:44:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace.c,v 1.3 2018/05/13 23:14:47 kamil Exp $       */
+/*     $NetBSD: t_ptrace.c,v 1.4 2018/05/14 12:44:40 kamil Exp $       */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,11 +27,10 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace.c,v 1.3 2018/05/13 23:14:47 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace.c,v 1.4 2018/05/14 12:44:40 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
-#include <sys/mman.h>
 #include <sys/ptrace.h>
 #include <sys/stat.h>
 #include <sys/sysctl.h>



Home | Main Index | Thread Index | Old Index