From owner-svn-src-head@freebsd.org Tue Oct 31 04:02:51 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7496E4CBCE; Tue, 31 Oct 2017 04:02:51 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96BE0240E; Tue, 31 Oct 2017 04:02:51 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9V42oQN048005; Tue, 31 Oct 2017 04:02:50 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9V42oPm048004; Tue, 31 Oct 2017 04:02:50 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201710310402.v9V42oPm048004@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 31 Oct 2017 04:02:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325208 - head/lib/libcasper/services/cap_grp X-SVN-Group: head X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: head/lib/libcasper/services/cap_grp X-SVN-Commit-Revision: 325208 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 31 Oct 2017 04:02:51 -0000 Author: ngie Date: Tue Oct 31 04:02:50 2017 New Revision: 325208 URL: https://svnweb.freebsd.org/changeset/base/325208 Log: Add `static` to `cap_setgrent` prototype in !WITH_CASPER case This unbreaks the default powerpc/sparc64 build configuration after r325062. Modified: head/lib/libcasper/services/cap_grp/cap_grp.h Modified: head/lib/libcasper/services/cap_grp/cap_grp.h ============================================================================== --- head/lib/libcasper/services/cap_grp/cap_grp.h Tue Oct 31 03:47:22 2017 (r325207) +++ head/lib/libcasper/services/cap_grp/cap_grp.h Tue Oct 31 04:02:50 2017 (r325208) @@ -65,7 +65,7 @@ int cap_grp_limit_groups(cap_channel_t *chan, const ch #define cap_setgroupent(chan, stayopen) etgroupent(stayopen) #define endgrent(chan) endgrent() -inline int +static inline int cap_setgrent(cap_channel_t *chan __unused) {