X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=92a53b45cfc376db329ad7a47f51f2d148a572a4;hp=a4159b670c7b0b5184c6ebec0c7ddfbf0224ca8f;hb=8bd8cedd086aeaf08630d5357af37151e1d06d06;hpb=67467d256b44f5e08498ca81c946d9ffaa25d1e2 diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index a4159b67..92a53b45 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ using namespace GiNaC; #define YYSTYPE ex // lex functions/variables -extern int yyerror(char *s); +extern int yyerror(const char *s); extern int yylex(void); extern char *yytext; extern FILE *yyin; @@ -66,7 +66,7 @@ extern int num_files; extern char **file_list; // Table of all used symbols -typedef map sym_tab; +typedef map sym_tab; extern sym_tab syms; // Type of symbols to generate (real or complex)