aboutsummaryrefslogtreecommitdiff
path: root/scripts/selinux/mdp/mdp.c
diff options
context:
space:
mode:
authorTrevor Keith <tsrk@tsrk.net>2009-09-22 16:43:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:28 -0700
commit5c725138437837291db5c25f4a076ee852e806e3 (patch)
treeddd05a26b2aa65a7508546b22235dffa2f41f54f /scripts/selinux/mdp/mdp.c
parente898893399335514b10dfbd75598f8308976abe4 (diff)
Fix all -Wmissing-prototypes warnings in x86 defconfig
Signed-off-by: Trevor Keith <tsrk@tsrk.net> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/selinux/mdp/mdp.c')
-rw-r--r--scripts/selinux/mdp/mdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c
index ca757d48618..b4ced856258 100644
--- a/scripts/selinux/mdp/mdp.c
+++ b/scripts/selinux/mdp/mdp.c
@@ -31,13 +31,13 @@
#include "flask.h"
-void usage(char *name)
+static void usage(char *name)
{
printf("usage: %s [-m] policy_file context_file\n", name);
exit(1);
}
-void find_common_name(char *cname, char *dest, int len)
+static void find_common_name(char *cname, char *dest, int len)
{
char *start, *end;