From 8e43bfece20480dbcc2da4b55ba7db9c44e9f907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 23 Aug 2005 10:52:31 +0000 Subject: [PATCH] Const poision yyerror. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15960 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/asn1/parse.y b/lib/asn1/parse.y index b70da99e0..2622a7eb0 100644 --- a/lib/asn1/parse.y +++ b/lib/asn1/parse.y @@ -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); }