From 5adfb566fe05bcf5f40b4adc1457862936d6d038 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 3 Oct 2014 14:22:30 +0100 Subject: [PATCH] hw/xwin: Fix redundant declaration warning in winprefslex.l MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit winprefslex.l:40:12: warning: redundant redeclaration of ‘yyparse’ [-Wredundant-decls] winprefsyacc.h:130:5: note: previous declaration of ‘yyparse’ was here Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- hw/xwin/winprefslex.l | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xwin/winprefslex.l b/hw/xwin/winprefslex.l index fd13edc05..9e6f0d6d4 100644 --- a/hw/xwin/winprefslex.l +++ b/hw/xwin/winprefslex.l @@ -37,8 +37,6 @@ #include #include "winprefsyacc.h" -extern int yyparse(void); - extern void ErrorF (const char* /*f*/, ...); /* Copy the parsed string, must be free()d in yacc parser */