X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=9b2d0d4cab2a4e8ebd5cb03a85f833ab2ea870f6;hp=a4159b670c7b0b5184c6ebec0c7ddfbf0224ca8f;hb=76e6124083a8054761c1bba9fea9afd71eacb9d8;hpb=83a7ee99a947cbbf331018b803ad6be43a9ccd45;ds=sidebyside diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index a4159b67..9b2d0d4c 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-2015 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)