diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-17 09:19:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-17 09:19:26 +0000 |
commit | 592d4fe7722b094b18194cdf6a692a71a116e4ca (patch) | |
tree | b8a85f1bf16d7e791fe65e1231fe24eb70501162 /selinux/chcon.c | |
parent | 4866e905d7e1f11d86374fad4e46aa2bd669c2ba (diff) | |
download | busybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.tar.gz busybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.tar.bz2 busybox-w32-592d4fe7722b094b18194cdf6a692a71a116e4ca.zip |
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/chcon.c')
-rw-r--r-- | selinux/chcon.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index f00e24278..288e93ad3 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -28,7 +28,11 @@ static char *type = NULL; | |||
28 | static char *range = NULL; | 28 | static char *range = NULL; |
29 | static char *specified_context = NULL; | 29 | static char *specified_context = NULL; |
30 | 30 | ||
31 | static int change_filedir_context(const char *fname, struct stat *stbuf, void *userData, int depth) | 31 | static int change_filedir_context( |
32 | const char *fname, | ||
33 | struct stat *stbuf ATTRIBUTE_UNUSED, | ||
34 | void *userData ATTRIBUTE_UNUSED, | ||
35 | int depth ATTRIBUTE_UNUSED) | ||
32 | { | 36 | { |
33 | context_t context = NULL; | 37 | context_t context = NULL; |
34 | security_context_t file_context = NULL; | 38 | security_context_t file_context = NULL; |
@@ -121,7 +125,7 @@ static const char chcon_longopts[] ALIGN1 = | |||
121 | #endif | 125 | #endif |
122 | 126 | ||
123 | int chcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 127 | int chcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
124 | int chcon_main(int argc, char **argv) | 128 | int chcon_main(int argc ATTRIBUTE_UNUSED, char **argv) |
125 | { | 129 | { |
126 | char *reference_file; | 130 | char *reference_file; |
127 | char *fname; | 131 | char *fname; |