Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys Remove explicit inclusion of <sys/localcount.h...
details: https://anonhg.NetBSD.org/src/rev/679d65b90f5e
branches: prg-localcount2
changeset: 823525:679d65b90f5e
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Apr 29 10:50:46 2017 +0000
description:
Remove explicit inclusion of <sys/localcount.h> since there is no
explicit usage of localcounts here. <sys/conf.h> will take care of
including as needed.
diffstat:
sys/dev/ccd.c | 5 ++---
sys/dev/cgd.c | 5 ++---
sys/dev/sysmon/sysmon.c | 5 ++---
sys/dev/vnd.c | 5 ++---
sys/net/if_tun.c | 5 ++---
sys/net/npf/npf_os.c | 5 ++---
6 files changed, 12 insertions(+), 18 deletions(-)
diffs (156 lines):
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/dev/ccd.c
--- a/sys/dev/ccd.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/dev/ccd.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccd.c,v 1.171.4.1 2017/04/29 09:17:58 pgoyette Exp $ */
+/* $NetBSD: ccd.c,v 1.171.4.2 2017/04/29 10:50:46 pgoyette Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.171.4.1 2017/04/29 09:17:58 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.171.4.2 2017/04/29 10:50:46 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -105,7 +105,6 @@
#include <sys/module.h>
#include <sys/namei.h>
#include <sys/stat.h>
-#include <sys/localcount.h>
#include <sys/ioctl.h>
#include <sys/disklabel.h>
#include <sys/device.h>
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/dev/cgd.c
--- a/sys/dev/cgd.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/dev/cgd.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.114.4.5 2017/04/29 08:55:37 pgoyette Exp $ */
+/* $NetBSD: cgd.c,v 1.114.4.6 2017/04/29 10:50:46 pgoyette Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.114.4.5 2017/04/29 08:55:37 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.114.4.6 2017/04/29 10:50:46 pgoyette Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -51,7 +51,6 @@
#include <sys/vnode.h>
#include <sys/conf.h>
#include <sys/syslog.h>
-#include <sys/localcount.h>
#include <dev/dkvar.h>
#include <dev/cgdvar.h>
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/dev/sysmon/sysmon.c
--- a/sys/dev/sysmon/sysmon.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/dev/sysmon/sysmon.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon.c,v 1.28.8.1 2017/04/27 05:36:36 pgoyette Exp $ */
+/* $NetBSD: sysmon.c,v 1.28.8.2 2017/04/29 10:50:46 pgoyette Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon.c,v 1.28.8.1 2017/04/27 05:36:36 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon.c,v 1.28.8.2 2017/04/29 10:50:46 pgoyette Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -53,7 +53,6 @@
#include <sys/mutex.h>
#include <sys/device.h>
#include <sys/once.h>
-#include <sys/localcount.h>
#include <dev/sysmon/sysmonvar.h>
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/dev/vnd.c
--- a/sys/dev/vnd.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/dev/vnd.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnd.c,v 1.259.4.3 2017/04/28 23:16:14 pgoyette Exp $ */
+/* $NetBSD: vnd.c,v 1.259.4.4 2017/04/29 10:50:46 pgoyette Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.259.4.3 2017/04/28 23:16:14 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.259.4.4 2017/04/29 10:50:46 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vnd.h"
@@ -119,7 +119,6 @@
#include <sys/conf.h>
#include <sys/kauth.h>
#include <sys/module.h>
-#include <sys/localcount.h>
#include <net/zlib.h>
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/net/if_tun.c
--- a/sys/net/if_tun.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/net/if_tun.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tun.c,v 1.138.4.1 2017/04/28 03:46:57 pgoyette Exp $ */
+/* $NetBSD: if_tun.c,v 1.138.4.2 2017/04/29 10:50:46 pgoyette Exp $ */
/*
* Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.138.4.1 2017/04/28 03:46:57 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.138.4.2 2017/04/29 10:50:46 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -35,7 +35,6 @@
#include <sys/ioctl.h>
#include <sys/kauth.h>
#include <sys/kmem.h>
-#include <sys/localcount.h>
#include <sys/lwp.h>
#include <sys/mbuf.h>
#include <sys/module.h>
diff -r f0d9edc1ba87 -r 679d65b90f5e sys/net/npf/npf_os.c
--- a/sys/net/npf/npf_os.c Sat Apr 29 10:19:31 2017 +0000
+++ b/sys/net/npf/npf_os.c Sat Apr 29 10:50:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_os.c,v 1.6.6.1 2017/04/28 02:13:19 pgoyette Exp $ */
+/* $NetBSD: npf_os.c,v 1.6.6.2 2017/04/29 10:50:46 pgoyette Exp $ */
/*-
* Copyright (c) 2009-2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#ifdef _KERNEL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.6.6.1 2017/04/28 02:13:19 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.6.6.2 2017/04/29 10:50:46 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "pf.h"
@@ -50,7 +50,6 @@
#include <sys/conf.h>
#include <sys/kauth.h>
#include <sys/kmem.h>
-#include <sys/localcount.h>
#include <sys/lwp.h>
#include <sys/module.h>
#include <sys/socketvar.h>
Home |
Main Index |
Thread Index |
Old Index