X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tools%2Fphm2if.cpp;h=00cc692deefe16ca3f8f935f0f3f76c6e231c1d8;hb=b565c017417f9dc25ea30d651a6b6c5435314259;hp=d87afaffc65a69bbe3724ca77eafa89f8565b6c6;hpb=93eb50659a64db3e37753d36c9923e82c7f7ca8a;p=ctsim.git diff --git a/tools/phm2if.cpp b/tools/phm2if.cpp index d87afaf..00cc692 100644 --- a/tools/phm2if.cpp +++ b/tools/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.5 2000/08/02 18:06:00 kevin Exp $ +** $Id: phm2if.cpp,v 1.8 2000/08/02 19:55:45 kevin Exp $ ** ** 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 @@ -50,7 +50,7 @@ static struct option my_options[] = {0, 0, 0, 0} }; -static const char* szIdStr = "$Id"; +static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.8 2000/08/02 19:55:45 kevin Exp $"; void phm2if_usage (const char *program) @@ -122,6 +122,8 @@ phm2if_main (int argc, char* argv[]) int optTrace = TRACE_NONE; bool optVerbose = false; bool optDebug = false; + char *endptr = NULL; + char *endstr; Timer timerProgram; #ifdef HAVE_MPI @@ -131,9 +133,6 @@ phm2if_main (int argc, char* argv[]) #endif while (1) { int c = getopt_long(argc, argv, "", my_options, NULL); - char *endptr = NULL; - char *endstr; - if (c == -1) break;