Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 04:02:50 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
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
Message-ID:  <201710310402.v9V42oPm048004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710310402.v9V42oPm048004>