Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 23:44:23 +0000 (UTC)
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r345210 - projects/capsicum-test/contrib/capsicum-test
Message-ID:  <201903152344.x2FNiNi1061935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Mar 15 23:44:22 2019
New Revision: 345210
URL: https://svnweb.freebsd.org/changeset/base/345210

Log:
  Fix a -Wunused issue by omitting `flags` from the function declaration

Modified:
  projects/capsicum-test/contrib/capsicum-test/syscalls.h

Modified: projects/capsicum-test/contrib/capsicum-test/syscalls.h
==============================================================================
--- projects/capsicum-test/contrib/capsicum-test/syscalls.h	Fri Mar 15 23:43:01 2019	(r345209)
+++ projects/capsicum-test/contrib/capsicum-test/syscalls.h	Fri Mar 15 23:44:22 2019	(r345210)
@@ -53,7 +53,7 @@ inline ssize_t flistxattr_(int fd, char *list, size_t 
 inline ssize_t fgetxattr_(int fd, const char *name, void *value, size_t size) {
   return extattr_get_fd(fd, EXTATTR_NAMESPACE_USER, name, value, size);
 }
-inline int fsetxattr_(int fd, const char *name, const void *value, size_t size, int flags) {
+inline int fsetxattr_(int fd, const char *name, const void *value, size_t size, int) {
   return extattr_set_fd(fd, EXTATTR_NAMESPACE_USER, name, value, size);
 }
 inline int fremovexattr_(int fd, const char *name) {



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