X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctgraphics%2Fpol.cpp;h=e02cdec4fb68b7268584c306dca0bb8b12cdee8a;hp=f433e5fd10b6ddcefc8c787dea46cd2a634bd5e8;hb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7 diff --git a/libctgraphics/pol.cpp b/libctgraphics/pol.cpp index f433e5f..e02cdec 100644 --- a/libctgraphics/pol.cpp +++ b/libctgraphics/pol.cpp @@ -4,9 +4,7 @@ ** POL - Problem Oriented Language ** ** This is part of the CTSim program -** Copyright (c) 1983-2001 Kevin Rosenberg -** -** $Id$ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -135,7 +133,7 @@ POL::addKeyword (const char* const str, int code) */ bool -POL::readWord (char *search, int nlet) +POL::readWord (const char *search, int nlet) { tok (&token); if (m_bTrace) @@ -821,7 +819,7 @@ POL::type (int c) */ void -POL::usefile (int source, char *fn) +POL::usefile (int source, const char *fn) { FILE *fp;