summaryrefslogtreecommitdiff
path: root/selinux/setfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/setfiles.c')
-rw-r--r--selinux/setfiles.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 905333f..02bb911 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -99,7 +99,7 @@ enum {
#define FLAG_R (option_mask32 & OPT_R)
-static void qprintf(const char *fmt, ...)
+static void qprintf(const char *fmt ATTRIBUTE_UNUSED, ...)
{
/* quiet, do nothing */
}
@@ -391,8 +391,11 @@ static int restore(const char *file)
* This function is called by recursive_action on each file during
* the directory traversal.
*/
-static int apply_spec(const char *file,
- struct stat *sb, void *userData, int depth)
+static int apply_spec(
+ const char *file,
+ struct stat *sb,
+ void *userData ATTRIBUTE_UNUSED,
+ int depth ATTRIBUTE_UNUSED)
{
if (!follow_mounts) {
/* setfiles does not process across different mount points */