diff options
author | Denis Vlasenko | 2008-03-17 09:19:26 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-17 09:19:26 +0000 |
commit | 592d4fe7722b094b18194cdf6a692a71a116e4ca (patch) | |
tree | b8a85f1bf16d7e791fe65e1231fe24eb70501162 /selinux/setfiles.c | |
parent | 4866e905d7e1f11d86374fad4e46aa2bd669c2ba (diff) | |
download | busybox-592d4fe7722b094b18194cdf6a692a71a116e4ca.zip busybox-592d4fe7722b094b18194cdf6a692a71a116e4ca.tar.gz |
selinux/*: -Wunused-parameter fixes
runsv: make it NOMMU-capable
function old new delta
startservice 291 313 +22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0) Total: 22 bytes
Diffstat (limited to 'selinux/setfiles.c')
-rw-r--r-- | selinux/setfiles.c | 9 |
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 */ |