summaryrefslogtreecommitdiffstats
path: root/scripts/selinux/mdp
diff options
context:
space:
mode:
authorTrevor Keith <tsrk@tsrk.net>2009-09-23 01:43:38 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 16:39:28 +0200
commit5c725138437837291db5c25f4a076ee852e806e3 (patch)
treeddd05a26b2aa65a7508546b22235dffa2f41f54f /scripts/selinux/mdp
parentdac960: fix undefined behavior on empty string (diff)
downloadlinux-5c725138437837291db5c25f4a076ee852e806e3.tar.xz
linux-5c725138437837291db5c25f4a076ee852e806e3.zip
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')
-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 ca757d486187..b4ced8562587 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;