diff options
| author | Pavel Roskin <proski@gnu.org> | 2007-06-28 01:40:14 -0400 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-06-27 23:15:01 -0700 |
| commit | bb0cc4bf39162e972fc519dd3bb96a98372a3d38 (patch) | |
| tree | e7581d178a67c1baad836bcdabcc29591499320f | |
| parent | 92a69684bcd529c7259ca00043c373ff4ae4a1a7 (diff) | |
| download | sparse-dev-bb0cc4bf39162e972fc519dd3bb96a98372a3d38.tar.gz | |
Fix warnings about undeclared globals, they are irrelevant to the test
Signed-off-by: Pavel Roskin <proski@gnu.org>
| -rw-r--r-- | validation/bitfields.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validation/bitfields.c b/validation/bitfields.c index 292a110b..16aa16d1 100644 --- a/validation/bitfields.c +++ b/validation/bitfields.c @@ -5,13 +5,13 @@ * * "warning: a.c:16:10: incompatible types for operation" */ -struct { +static struct { int x:4; } y; extern int a[]; -int b(void) +static int b(void) { return a[y.x]; } |
