Const poision yyerror.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15960 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-08-23 10:52:31 +00:00
parent c6dc7f253e
commit 8e43bfece2

View File

@@ -49,7 +49,7 @@ RCSID("$Id$");
static Type *new_type (Typetype t);
static Type *new_tag(int tagclass, int tagvalue, int tagenv, Type *oldtype);
void yyerror (char *);
void yyerror (const char *);
static struct objid *new_objid(const char *label, int value);
static void add_oid_to_tail(struct objid *, struct objid *);
static void fix_labels(Symbol *s);
@@ -810,7 +810,7 @@ ObjectIdentifierValue: objid
%%
void
yyerror (char *s)
yyerror (const char *s)
{
error_message ("%s\n", s);
}