Author: pjd Date: Thu Jun 26 13:57:44 2014 New Revision: 267914 URL: http://svnweb.freebsd.org/changeset/base/267914
Log: Remove duplicated includes. Submitted by: Mariusz Zaborski <osho...@freebsd.org> Modified: head/sbin/dhclient/bpf.c head/sbin/dhclient/dhclient.c head/sys/kern/kern_exec.c head/sys/kern/subr_capability.c Modified: head/sbin/dhclient/bpf.c ============================================================================== --- head/sbin/dhclient/bpf.c Thu Jun 26 13:02:21 2014 (r267913) +++ head/sbin/dhclient/bpf.c Thu Jun 26 13:57:44 2014 (r267914) @@ -43,8 +43,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <sys/capsicum.h> - #include "dhcpd.h" #include "privsep.h" #include <sys/capsicum.h> Modified: head/sbin/dhclient/dhclient.c ============================================================================== --- head/sbin/dhclient/dhclient.c Thu Jun 26 13:02:21 2014 (r267913) +++ head/sbin/dhclient/dhclient.c Thu Jun 26 13:57:44 2014 (r267914) @@ -56,8 +56,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <sys/capsicum.h> - #include "dhcpd.h" #include "privsep.h" Modified: head/sys/kern/kern_exec.c ============================================================================== --- head/sys/kern/kern_exec.c Thu Jun 26 13:02:21 2014 (r267913) +++ head/sys/kern/kern_exec.c Thu Jun 26 13:57:44 2014 (r267914) @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/capsicum.h> #include <sys/systm.h> -#include <sys/capsicum.h> #include <sys/eventhandler.h> #include <sys/lock.h> #include <sys/mutex.h> Modified: head/sys/kern/subr_capability.c ============================================================================== --- head/sys/kern/subr_capability.c Thu Jun 26 13:02:21 2014 (r267913) +++ head/sys/kern/subr_capability.c Thu Jun 26 13:57:44 2014 (r267914) @@ -34,16 +34,14 @@ __FBSDID("$FreeBSD$"); * Note that this file is compiled into the kernel and into libc. */ -#ifdef _KERNEL #include <sys/types.h> #include <sys/capsicum.h> + +#ifdef _KERNEL #include <sys/systm.h> #include <machine/stdarg.h> #else /* !_KERNEL */ -#include <sys/types.h> -#include <sys/capsicum.h> - #include <assert.h> #include <stdarg.h> #include <stdbool.h> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"