From owner-svn-src-all@FreeBSD.ORG Sat Jul 24 18:14:35 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C2311065676; Sat, 24 Jul 2010 18:14:35 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 22FAB8FC12; Sat, 24 Jul 2010 18:14:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o6OIEYZo099558; Sat, 24 Jul 2010 18:14:34 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o6OIEY4K099556; Sat, 24 Jul 2010 18:14:34 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201007241814.o6OIEY4K099556@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 24 Jul 2010 18:14:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r210451 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2010 18:14:35 -0000 Author: kib Date: Sat Jul 24 18:14:34 2010 New Revision: 210451 URL: http://svn.freebsd.org/changeset/base/210451 Log: Use forward declartion for enum uio_seg in imgact.h. This allows to remove inclusion of sys/uio.h from the header. Proposed by: alc MFC after: 1 week Modified: head/sys/sys/imgact.h Modified: head/sys/sys/imgact.h ============================================================================== --- head/sys/sys/imgact.h Sat Jul 24 18:05:10 2010 (r210450) +++ head/sys/sys/imgact.h Sat Jul 24 18:14:34 2010 (r210451) @@ -32,8 +32,6 @@ #ifndef _SYS_IMGACT_H_ #define _SYS_IMGACT_H_ -#include - #define MAXSHELLCMDLEN PAGE_SIZE struct image_args { @@ -75,6 +73,7 @@ struct image_params { #ifdef _KERNEL struct sysentvec; struct thread; +enum uio_seg; #define IMGACT_CORE_COMPRESS 0x01