aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/utils/matchpathcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux/utils/matchpathcon.c')
-rw-r--r--libselinux/utils/matchpathcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libselinux/utils/matchpathcon.c b/libselinux/utils/matchpathcon.c
index 5f0a4c2e..b1adadd8 100644
--- a/libselinux/utils/matchpathcon.c
+++ b/libselinux/utils/matchpathcon.c
@@ -13,7 +13,7 @@
#include <stdlib.h>
-void usage(const char *progname)
+static void usage(const char *progname)
{
fprintf(stderr,
"usage: %s [-N] [-n] [-f file_contexts] [-p prefix] [-Vq] path...\n",
@@ -21,7 +21,7 @@ void usage(const char *progname)
exit(1);
}
-int printmatchpathcon(char *path, int header, int mode)
+static int printmatchpathcon(const char *path, int header, int mode)
{
char *buf;
int rc = matchpathcon(path, mode, &buf);