From owner-svn-src-all@FreeBSD.ORG Thu Oct 27 17:44:51 2011 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 99CE01065670; Thu, 27 Oct 2011 17:44:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 89D0A8FC1D; Thu, 27 Oct 2011 17:44:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RHipZ7017838; Thu, 27 Oct 2011 17:44:51 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9RHipAu017836; Thu, 27 Oct 2011 17:44:51 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201110271744.p9RHipAu017836@svn.freebsd.org> From: John Baldwin Date: Thu, 27 Oct 2011 17:44:51 +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: r226850 - 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: Thu, 27 Oct 2011 17:44:51 -0000 Author: jhb Date: Thu Oct 27 17:44:51 2011 New Revision: 226850 URL: http://svn.freebsd.org/changeset/base/226850 Log: Sort function prototypes. Modified: head/sys/sys/fcntl.h Modified: head/sys/sys/fcntl.h ============================================================================== --- head/sys/sys/fcntl.h Thu Oct 27 17:43:36 2011 (r226849) +++ head/sys/sys/fcntl.h Thu Oct 27 17:44:51 2011 (r226850) @@ -286,15 +286,15 @@ __BEGIN_DECLS int open(const char *, int, ...); int creat(const char *, mode_t); int fcntl(int, int, ...); +#if __BSD_VISIBLE +int flock(int, int); +#endif #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 int openat(int, const char *, int, ...); #endif #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 int posix_fallocate(int, off_t, off_t); #endif -#if __BSD_VISIBLE -int flock(int, int); -#endif __END_DECLS #endif