From owner-svn-src-head@FreeBSD.ORG Sat Mar 14 19:17:00 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B5E106566C; Sat, 14 Mar 2009 19:17:00 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 967B08FC18; Sat, 14 Mar 2009 19:17:00 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EJH0hB005706; Sat, 14 Mar 2009 19:17:00 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2EJH0NA005705; Sat, 14 Mar 2009 19:17:00 GMT (envelope-from das@svn.freebsd.org) Message-Id: <200903141917.n2EJH0NA005705@svn.freebsd.org> From: David Schultz Date: Sat, 14 Mar 2009 19:17:00 +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: r189822 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 19:17:00 -0000 Author: das Date: Sat Mar 14 19:17:00 2009 New Revision: 189822 URL: http://svn.freebsd.org/changeset/base/189822 Log: Namespace: aio_waitcomplete() is a BSD extension. Also, don't pollute the namespace by including . Modified: head/sys/sys/aio.h Modified: head/sys/sys/aio.h ============================================================================== --- head/sys/sys/aio.h Sat Mar 14 19:15:13 2009 (r189821) +++ head/sys/sys/aio.h Sat Mar 14 19:17:00 2009 (r189822) @@ -19,7 +19,6 @@ #ifndef _SYS_AIO_H_ #define _SYS_AIO_H_ -#include #include #include @@ -79,6 +78,8 @@ typedef struct aiocb { #ifndef _KERNEL +struct timespec; + __BEGIN_DECLS /* * Asynchronously read from a file @@ -123,7 +124,9 @@ int aio_cancel(int, struct aiocb *); */ int aio_suspend(const struct aiocb * const[], int, const struct timespec *); +#ifdef __BSD_VISIBLE int aio_waitcomplete(struct aiocb **, struct timespec *); +#endif int aio_fsync(int op, struct aiocb *aiocbp); __END_DECLS