From owner-svn-soc-all@FreeBSD.ORG Wed Jul 10 15:22:43 2013 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 664C0F34 for ; Wed, 10 Jul 2013 15:22:43 +0000 (UTC) (envelope-from dpl@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 5843016C1 for ; Wed, 10 Jul 2013 15:22:43 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6AFMhvm090122 for ; Wed, 10 Jul 2013 15:22:43 GMT (envelope-from dpl@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.7/8.14.6/Submit) id r6AFMhvs090117 for svn-soc-all@FreeBSD.org; Wed, 10 Jul 2013 15:22:43 GMT (envelope-from dpl@FreeBSD.org) Date: Wed, 10 Jul 2013 15:22:43 GMT Message-Id: <201307101522.r6AFMhvs090117@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to dpl@FreeBSD.org using -f From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r254567 - soc2013/dpl/head/contrib/xz/src/xz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 15:22:43 -0000 Author: dpl Date: Wed Jul 10 15:22:43 2013 New Revision: 254567 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254567 Log: Declaration of a pointer to struct that will be used in future changes. Modified: soc2013/dpl/head/contrib/xz/src/xz/file_io.h Modified: soc2013/dpl/head/contrib/xz/src/xz/file_io.h ============================================================================== --- soc2013/dpl/head/contrib/xz/src/xz/file_io.h Wed Jul 10 15:18:45 2013 (r254566) +++ soc2013/dpl/head/contrib/xz/src/xz/file_io.h Wed Jul 10 15:22:43 2013 (r254567) @@ -63,6 +63,8 @@ } file_pair; +/// All the opened files. +file_pair *all_pairs; /// \brief Initialize the I/O module extern void io_init(void); @@ -128,13 +130,12 @@ /// and error message printed. extern bool io_write(file_pair *pair, const io_buf *buf, size_t size); - #if defined(CAPSICUM) /// \brief Limits fd using FreeBSD's Capsicum framework. /// /// \param fd File descriptor to limit. extern void limitfd(file_pair *pair); -/// \brief Enters Capability mode, and limit stdin, stdout & stderr. +/// \brief Enters Capability mode, and limit basic fds. extern void cap_init(void); #endif