X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=selinux%2Fmatchpathcon.c;h=1532429b6bbb2d15c3530f427aeefffd27079580;hb=cc9205bda7c675e347516b93e865e462d2299a78;hp=bb7099ea64e44624345941a1158c7ec512efa954;hpb=feb7ae7f01e13dce31118e5a58b09b237d25e58c;p=oweals%2Fbusybox.git diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c index bb7099ea6..1532429b6 100644 --- a/selinux/matchpathcon.c +++ b/selinux/matchpathcon.c @@ -3,6 +3,7 @@ * based on libselinux-1.32 * Port to busybox: KaiGai Kohei * + * Licensed under GPLv2, see file LICENSE in this tarball for details. */ #include "libbb.h" @@ -29,8 +30,8 @@ static int print_matchpathcon(char *path, int noprint) #define OPT_PREFIX (1<<3) /* -p */ #define OPT_VERIFY (1<<4) /* -V */ -int matchpathcon_main(int argc, char **argv); -int matchpathcon_main(int argc, char **argv) +int matchpathcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; +int matchpathcon_main(int argc UNUSED_PARAM, char **argv) { int error = 0; unsigned opts;