X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginsh%2Fginsh.h;h=92a53b45cfc376db329ad7a47f51f2d148a572a4;hb=f282e2b3a3873619006b6ffd3fa7fe65010c1299;hp=b7c1853cd4eaab6e09c8b4ceda378c32eadddfc9;hpb=da64e515abf7243bc4c84ca3631470931c4e6691;p=ginac.git diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index b7c1853c..92a53b45 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999-2005 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)