Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib Stop including <sys/user.h> in userland libraries
details: https://anonhg.NetBSD.org/src/rev/514ffe759784
branches: trunk
changeset: 354380:514ffe759784
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Jun 14 12:24:51 2017 +0000
description:
Stop including <sys/user.h> in userland libraries
This header in this context is freebsdism.
diffstat:
lib/libkvm/kvm_aarch64.c | 5 ++---
lib/libutil/kinfo_getvmmap.c | 3 +--
2 files changed, 3 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r b664eab84c29 -r 514ffe759784 lib/libkvm/kvm_aarch64.c
--- a/lib/libkvm/kvm_aarch64.c Wed Jun 14 12:16:27 2017 +0000
+++ b/lib/libkvm/kvm_aarch64.c Wed Jun 14 12:24:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm_aarch64.c,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: kvm_aarch64.c,v 1.2 2017/06/14 12:24:51 kamil Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/kcore.h>
@@ -49,7 +48,7 @@
#include "kvm_private.h"
-__RCSID("$NetBSD: kvm_aarch64.c,v 1.1 2014/08/10 05:47:37 matt Exp $");
+__RCSID("$NetBSD: kvm_aarch64.c,v 1.2 2017/06/14 12:24:51 kamil Exp $");
/*ARGSUSED*/
void
diff -r b664eab84c29 -r 514ffe759784 lib/libutil/kinfo_getvmmap.c
--- a/lib/libutil/kinfo_getvmmap.c Wed Jun 14 12:16:27 2017 +0000
+++ b/lib/libutil/kinfo_getvmmap.c Wed Jun 14 12:24:51 2017 +0000
@@ -2,10 +2,9 @@
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/lib/libutil/kinfo_getvmmap.c 186512 2008-12-27 11:12:23Z rwatson $");
#endif
-__RCSID("$NetBSD: kinfo_getvmmap.c,v 1.3 2015/09/26 20:28:55 christos Exp $");
+__RCSID("$NetBSD: kinfo_getvmmap.c,v 1.4 2017/06/14 12:24:51 kamil Exp $");
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/sysctl.h>
#include <stdlib.h>
#include <string.h>
Home |
Main Index |
Thread Index |
Old Index