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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user