aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorJosh Triplett <josh@freedesktop.org>2007-06-26 15:30:42 -0700
committerJosh Triplett <josh@freedesktop.org>2007-06-26 15:30:42 -0700
commitc70d03fa0841250c14e7fb3fe320fe95ce539011 (patch)
tree55f0f204dc776da39297cb81245e5efdec88d311 /validation
parent7a4f042c80af12bd2464a15de732aab997c30db3 (diff)
downloadsparse-dev-c70d03fa0841250c14e7fb3fe320fe95ce539011.tar.gz
validation/restricted-typeof.c: Make globals static to avoid extraneous warnings.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'validation')
-rw-r--r--validation/restricted-typeof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/validation/restricted-typeof.c b/validation/restricted-typeof.c
index be77af8c..9eb34953 100644
--- a/validation/restricted-typeof.c
+++ b/validation/restricted-typeof.c
@@ -1,4 +1,4 @@
typedef unsigned __attribute__((bitwise)) A;
-A x;
-__typeof__(x) y;
-A *p = &y;
+static A x;
+static __typeof__(x) y;
+static A *p = &y;