X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=74cb28b924b79fc2b20c9a6d138c5d20d29dc48e;hp=b7c1853cd4eaab6e09c8b4ceda378c32eadddfc9;hb=393c7d5716ae5bb76ce2f518dfd52f27b1bc6414;hpb=da64e515abf7243bc4c84ca3631470931c4e6691 diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index b7c1853c..74cb28b9 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-2019 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 @@ -22,10 +22,9 @@ #ifndef GINSH_H #define GINSH_H -#include -#include -#include - +#include +#include +#include #include #include #include @@ -56,7 +55,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 +65,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)