aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/struct-as.c
diff options
Diffstat (limited to 'validation/struct-as.c')
-rw-r--r--validation/struct-as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/struct-as.c b/validation/struct-as.c
index f5752f0c..86b90d32 100644
--- a/validation/struct-as.c
+++ b/validation/struct-as.c
@@ -10,7 +10,7 @@ struct hello {
extern int test(int __user *ip);
-int broken(struct hello __user *sp)
+static int broken(struct hello __user *sp)
{
test(&sp->a);
}