Fix C++ warnings, better cleaning in makefiles
[ctsim.git] / include / ezplot.h
index af9d5852be6bdba8b761828b19fb556059aabbb5..bb29dd2f0433f453a8104d1bf3be01923a9df7b8 100644 (file)
@@ -96,7 +96,7 @@ enum {
 
 
 struct KeywordCodeTable {
-  char* keyword;
+  const char* keyword;
   int code;
 };
 
@@ -327,7 +327,7 @@ private:
 
   bool ezcmd (const char* const comm);
   bool do_cmd(int lx);
-  void bad_option(char *opt);
+  void bad_option(const char *opt);
   void initPlotSettings();
 
   void initKeywords ();