From c70d03fa0841250c14e7fb3fe320fe95ce539011 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 26 Jun 2007 15:30:42 -0700 Subject: [PATCH] validation/restricted-typeof.c: Make globals static to avoid extraneous warnings. Signed-off-by: Josh Triplett --- validation/restricted-typeof.c | 6 +++--- 1 file 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; -- 2.11.4.GIT