From cffaf76bd4fc7a00504ef4b8aaf1cc5a3baa1ae1 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Fri, 14 Dec 2007 18:11:21 +0000 Subject: [PATCH] Do not warn about no prior declaration for extern declarations. [r18752] --- parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parser.c b/parser.c index 6acf52b..35ebcb6 100644 --- 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 && -- 2.20.1