Rename yyerror to sel_yyerror and make it static.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22965 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-14 21:50:11 +00:00
parent 97bfc421da
commit 58c3cf6733

View File

@@ -47,10 +47,12 @@ unsigned lineno = 1;
static char * handle_string(void);
static int lex_input(char *, int);
static void error_message (const char *format, ...);
void yyerror (char *);
static void sel_yyerror (char *);
struct hx_expr_input _hx509_expr_input;
#define yyerror(msg) sel_yyerror(msg )
#define YY_NO_UNPUT 1
#undef YY_INPUT
@@ -91,8 +93,8 @@ error_message (const char *format, ...)
va_end (args);
}
void
yyerror (char *s)
static void
sel_yyerror (char *s)
{
error_message("%s", s);
}