Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Do not uselessly include <sys/malloc.h>.
details: https://anonhg.NetBSD.org/src/rev/19906d50592c
branches: trunk
changeset: 803721:19906d50592c
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Nov 09 18:08:06 2014 +0000
description:
Do not uselessly include <sys/malloc.h>.
diffstat:
sys/compat/svr4/svr4_exec_elf32.c | 5 ++---
sys/compat/svr4/svr4_exec_elf64.c | 5 ++---
sys/compat/svr4/svr4_fcntl.c | 5 ++---
sys/compat/svr4/svr4_filio.c | 5 ++---
sys/compat/svr4/svr4_ioctl.c | 5 ++---
sys/compat/svr4/svr4_ipc.c | 5 ++---
sys/compat/svr4/svr4_schedctl.c | 5 ++---
sys/compat/svr4/svr4_signal.c | 5 ++---
sys/compat/svr4/svr4_sockio.c | 5 ++---
sys/compat/svr4/svr4_termios.c | 5 ++---
sys/compat/svr4/svr4_ttold.c | 5 ++---
sys/miscfs/fdesc/fdesc_vfsops.c | 5 ++---
sys/miscfs/genfs/layer_subr.c | 5 ++---
sys/miscfs/genfs/layer_vfsops.c | 5 ++---
sys/miscfs/nullfs/null_vfsops.c | 5 ++---
sys/miscfs/umapfs/umap_subr.c | 5 ++---
sys/miscfs/umapfs/umap_vfsops.c | 5 ++---
sys/miscfs/umapfs/umap_vnops.c | 5 ++---
18 files changed, 36 insertions(+), 54 deletions(-)
diffs (truncated from 468 to 300 lines):
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_exec_elf32.c
--- a/sys/compat/svr4/svr4_exec_elf32.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_exec_elf32.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_exec_elf32.c,v 1.14 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_exec_elf32.c,v 1.15 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_exec_elf32.c,v 1.14 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_exec_elf32.c,v 1.15 2014/11/09 18:16:55 maxv Exp $");
#define ELFSIZE 32 /* XXX should die */
@@ -38,7 +38,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/vnode.h>
#include <sys/exec_elf.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_exec_elf64.c
--- a/sys/compat/svr4/svr4_exec_elf64.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_exec_elf64.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_exec_elf64.c,v 1.14 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_exec_elf64.c,v 1.15 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_exec_elf64.c,v 1.14 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_exec_elf64.c,v 1.15 2014/11/09 18:16:55 maxv Exp $");
#define ELFSIZE 64 /* XXX should die */
@@ -38,7 +38,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/vnode.h>
#include <sys/exec_elf.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_fcntl.c
--- a/sys/compat/svr4/svr4_fcntl.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_fcntl.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_fcntl.c,v 1.73 2014/09/05 10:47:32 christos Exp $ */
+/* $NetBSD: svr4_fcntl.c,v 1.74 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 1997, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_fcntl.c,v 1.73 2014/09/05 10:47:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_fcntl.c,v 1.74 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,7 +42,6 @@
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/mount.h>
-#include <sys/malloc.h>
#include <sys/vnode.h>
#include <sys/kauth.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_filio.c
--- a/sys/compat/svr4/svr4_filio.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_filio.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_filio.c,v 1.23 2009/05/24 21:41:25 ad Exp $ */
+/* $NetBSD: svr4_filio.c,v 1.24 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_filio.c,v 1.23 2009/05/24 21:41:25 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_filio.c,v 1.24 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <sys/mount.h>
#include <net/if.h>
-#include <sys/malloc.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_ioctl.c
--- a/sys/compat/svr4/svr4_ioctl.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_ioctl.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_ioctl.c,v 1.36 2009/03/14 21:04:18 dsl Exp $ */
+/* $NetBSD: svr4_ioctl.c,v 1.37 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_ioctl.c,v 1.36 2009/03/14 21:04:18 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_ioctl.c,v 1.37 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <sys/mount.h>
#include <net/if.h>
-#include <sys/malloc.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_ipc.c
--- a/sys/compat/svr4/svr4_ipc.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_ipc.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_ipc.c,v 1.26 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_ipc.c,v 1.27 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_ipc.c,v 1.26 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_ipc.c,v 1.27 2014/11/09 18:16:55 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -44,7 +44,6 @@
#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/time.h>
-#include <sys/malloc.h>
#include <sys/mman.h>
#include <sys/systm.h>
#include <sys/stat.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_schedctl.c
--- a/sys/compat/svr4/svr4_schedctl.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_schedctl.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_schedctl.c,v 1.7 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_schedctl.c,v 1.8 2014/11/09 18:16:55 maxv Exp $ */
/*
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_schedctl.c,v 1.7 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_schedctl.c,v 1.8 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,7 +42,6 @@
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/mount.h>
-#include <sys/malloc.h>
#include <sys/vnode.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_signal.c
--- a/sys/compat/svr4/svr4_signal.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_signal.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_signal.c,v 1.65 2011/02/03 21:45:31 joerg Exp $ */
+/* $NetBSD: svr4_signal.c,v 1.66 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_signal.c,v 1.65 2011/02/03 21:45:31 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_signal.c,v 1.66 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,7 +42,6 @@
#include <sys/kernel.h>
#include <sys/signal.h>
#include <sys/signalvar.h>
-#include <sys/malloc.h>
#include <sys/wait.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_sockio.c
--- a/sys/compat/svr4/svr4_sockio.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_sockio.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_sockio.c,v 1.35 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_sockio.c,v 1.36 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1995, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_sockio.c,v 1.35 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_sockio.c,v 1.36 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <sys/mount.h>
#include <net/if.h>
-#include <sys/malloc.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_termios.c
--- a/sys/compat/svr4/svr4_termios.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_termios.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_termios.c,v 1.27 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_termios.c,v 1.28 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_termios.c,v 1.27 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_termios.c,v 1.28 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <sys/mount.h>
#include <net/if.h>
-#include <sys/malloc.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/compat/svr4/svr4_ttold.c
--- a/sys/compat/svr4/svr4_ttold.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/compat/svr4/svr4_ttold.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_ttold.c,v 1.33 2008/04/28 20:23:45 martin Exp $ */
+/* $NetBSD: svr4_ttold.c,v 1.34 2014/11/09 18:16:55 maxv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_ttold.c,v 1.33 2008/04/28 20:23:45 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_ttold.c,v 1.34 2014/11/09 18:16:55 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -43,7 +43,6 @@
#include <sys/socket.h>
#include <sys/mount.h>
#include <net/if.h>
-#include <sys/malloc.h>
#include <sys/ioctl_compat.h>
#include <sys/syscallargs.h>
diff -r b5b096e3dbe9 -r 19906d50592c sys/miscfs/fdesc/fdesc_vfsops.c
--- a/sys/miscfs/fdesc/fdesc_vfsops.c Sun Nov 09 17:54:45 2014 +0000
+++ b/sys/miscfs/fdesc/fdesc_vfsops.c Sun Nov 09 18:08:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdesc_vfsops.c,v 1.90 2014/09/04 00:30:25 christos Exp $ */
+/* $NetBSD: fdesc_vfsops.c,v 1.91 2014/11/09 18:08:06 maxv Exp $ */
/*
* Copyright (c) 1992, 1993, 1995
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdesc_vfsops.c,v 1.90 2014/09/04 00:30:25 christos Exp $");
Home |
Main Index |
Thread Index |
Old Index