From: Christoph Mallon Date: Wed, 17 Sep 2008 14:47:40 +0000 (+0000) Subject: Small simplification. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=98e48d58e6e79cdcef4422ad6091686b76ffeefb;p=cparser Small simplification. [r22039] --- diff --git a/parser.c b/parser.c index 4d7ef61..dddd4bc 100644 --- a/parser.c +++ b/parser.c @@ -4378,7 +4378,7 @@ static declaration_t *record_declaration( previous_declaration == NULL) { warningf(&declaration->source_position, "function declaration '%#T' is not a prototype", - orig_type, declaration->symbol); + orig_type, symbol); } if (warning.main && is_type_function(type) && is_sym_main(symbol)) {