projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba1ae78
)
Do not warn about no prior declaration for extern declarations.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 14 Dec 2007 18:11:21 +0000
(18:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 14 Dec 2007 18:11:21 +0000
(18:11 +0000)
[r18752]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
6acf52b
..
35ebcb6
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-2352,6
+2352,7
@@
warn_redundant_declaration:
}
} else if (warning.missing_declarations &&
context == global_context &&
+ declaration->storage_class != STORAGE_CLASS_EXTERN &&
declaration->storage_class != STORAGE_CLASS_STATIC &&
declaration->storage_class != STORAGE_CLASS_TYPEDEF &&
declaration->storage_class != STORAGE_CLASS_ENUM_ENTRY &&