X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=selinux%2Fchcon.c;h=55c2522f66642a83a520fb951ae3981b92dbed76;hb=5a49d284a6a9f6cf2076f23561f95aebdfd44592;hp=505ae4f3226b4ff01d2fd68cdd481fb0df7c659e;hpb=defc1ea34074e7882724c460260d307cdf981a70;p=oweals%2Fbusybox.git diff --git a/selinux/chcon.c b/selinux/chcon.c index 505ae4f32..55c2522f6 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c @@ -4,6 +4,8 @@ * Port to busybox: KaiGai Kohei * * Copyright (C) 2006 - 2007 KaiGai Kohei + * + * Licensed under GPLv2, see file LICENSE in this tarball for details. */ #include #include @@ -30,9 +32,9 @@ static char *specified_context = NULL; static int FAST_FUNC change_filedir_context( const char *fname, - struct stat *stbuf ATTRIBUTE_UNUSED, - void *userData ATTRIBUTE_UNUSED, - int depth ATTRIBUTE_UNUSED) + struct stat *stbuf UNUSED_PARAM, + void *userData UNUSED_PARAM, + int depth UNUSED_PARAM) { context_t context = NULL; security_context_t file_context = NULL; @@ -125,7 +127,7 @@ static const char chcon_longopts[] ALIGN1 = #endif int chcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int chcon_main(int argc ATTRIBUTE_UNUSED, char **argv) +int chcon_main(int argc UNUSED_PARAM, char **argv) { char *reference_file; char *fname;