Date: Thu, 26 Jun 2014 13:57:44 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267914 - in head: sbin/dhclient sys/kern Message-ID: <201406261357.s5QDvi1L006310@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <oshogbo@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261357.s5QDvi1L006310>