svn commit: r325208 - head/lib/libcasper/services/cap_grp

Ngie Cooper ngie at FreeBSD.org
Tue Oct 31 04:02:51 UTC 2017


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)
 {
 


More information about the svn-src-head mailing list