From: ellson Date: Tue, 23 Dec 2008 11:03:06 +0000 (+0000) Subject: change aagin (yyin) to FILE* to match lexer X-Git-Tag: LAST_LIBGRAPH~32^2~2746 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffdbf852377bc93b4896014c30e26e1b901ab260;p=graphviz change aagin (yyin) to FILE* to match lexer patch from: Chris Demetriou --- diff --git a/lib/agraph/grammar.y b/lib/agraph/grammar.y index 1e422ad96..8799a3c31 100644 --- a/lib/agraph/grammar.y +++ b/lib/agraph/grammar.y @@ -525,7 +525,7 @@ static void closesubg() yyerror("libgraph: parser lost root graph\n"); } -extern void *yyin; +extern FILE *yyin; Agraph_t *agconcat(Agraph_t *g, void *chan, Agdisc_t *disc) { yyin = chan; diff --git a/lib/cgraph/grammar.y b/lib/cgraph/grammar.y index c44b41595..f78308101 100644 --- a/lib/cgraph/grammar.y +++ b/lib/cgraph/grammar.y @@ -526,7 +526,7 @@ static void closesubg() yyerror("libgraph: parser lost root graph\n"); } -extern void *yyin; +extern FILE *yyin; Agraph_t *agconcat(Agraph_t *g, void *chan, Agdisc_t *disc) { yyin = chan;