From 0fb5f2142a5293afdba4121aaa53d8b308fb9bea Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 9 Oct 2010 14:28:28 +0000 Subject: [PATCH] avoid function redeclaration, PPparse() and PTparse() --- ChangeLog | 5 +++++ src/frontend/parse-bison.y | 1 - src/spicelib/parser/inpptree-parser.y | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8254dabc6..8714063a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-09 Robert Larice + * src/frontend/parse-bison.y , + * src/spicelib/parser/inpptree-parser.y : + avoid function redeclaration, PPparse() and PTparse() + 2010-10-09 Robert Larice * src/frontend/define.c , * src/frontend/evaluate.c , diff --git a/src/frontend/parse-bison.y b/src/frontend/parse-bison.y index 52eab77ba..38a1e9e6b 100644 --- a/src/frontend/parse-bison.y +++ b/src/frontend/parse-bison.y @@ -22,7 +22,6 @@ #include "parse-bison.h" extern int PPlex (YYSTYPE *lvalp, struct PPltype *llocp, char **line); - extern int PPparse (char **line, struct pnode **retval); extern int PPdebug; static void PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *); diff --git a/src/spicelib/parser/inpptree-parser.y b/src/spicelib/parser/inpptree-parser.y index bec9f933a..b9d56f815 100644 --- a/src/spicelib/parser/inpptree-parser.y +++ b/src/spicelib/parser/inpptree-parser.y @@ -5,7 +5,6 @@ #include "inpptree-parser.h" extern int PTlex (YYSTYPE *lvalp, char **line); - extern int PTparse (char **line, struct INPparseNode **retval, void *ckt); static void PTerror (char **line, struct INPparseNode **retval, void *ckt, char const *);