summaryrefslogtreecommitdiff
path: root/emulators/gpsim-devel/patches/patch-cli-parse.yy
blob: 78532053968915cc4d2d6be1035c71909e508d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-cli-parse.yy,v 1.1 2011/09/08 00:12:00 joerg Exp $

--- cli/parse.yy.orig	2011-09-07 13:21:44.000000000 +0000
+++ cli/parse.yy
@@ -84,7 +84,7 @@ extern command *getLastKnownCommand();
 extern void init_cmd_state();
 extern const char * GetLastFullCommand();
 
-void yyerror(char *message)
+void yyerror(const char *message)
 {
   printf("***ERROR: %s while parsing:\n'%s'\n",message, yytext);
   const char *last = GetLastFullCommand();