projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r175: *** empty log message ***
[ctsim.git]
/
tools
/
phm2if.cpp
diff --git
a/tools/phm2if.cpp
b/tools/phm2if.cpp
index ad1503d64194bc2612f2c61722fc8ddff9afa2ff..b4338c966a54d5a56e4b79d9fb1f78be0ab6e76c 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2if.cpp,v 1.
6 2000/08/02 18:06:46
kevin Exp $
+** $Id: phm2if.cpp,v 1.
9 2000/08/03 09:57:29
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
**
** 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}
};
{0, 0, 0, 0}
};
-static const char*
szIdStr = "$Id: phm2if.cpp,v 1.6 2000/08/02 18:06:46
kevin Exp $";
+static const char*
g_szIdStr = "$Id: phm2if.cpp,v 1.9 2000/08/03 09:57:29
kevin Exp $";
void
phm2if_usage (const char *program)
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;
int optTrace = TRACE_NONE;
bool optVerbose = false;
bool optDebug = false;
+ char *endptr = NULL;
+ char *endstr;
Timer timerProgram;
#ifdef HAVE_MPI
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);
#endif
while (1) {
int c = getopt_long(argc, argv, "", my_options, NULL);
- char *endptr = NULL;
- char *endstr;
-
if (c == -1)
break;
if (c == -1)
break;
@@
-194,7
+193,7
@@
phm2if_main (int argc, char* argv[])
break;
case O_VERSION:
#ifdef VERSION
break;
case O_VERSION:
#ifdef VERSION
- cout <<
"Version " << VERSION
<< endl;
+ cout <<
"Version " << VERSION << endl << g_szIdStr
<< endl;
#else
cerr << "Unknown version number" << endl;
#endif
#else
cerr << "Unknown version number" << endl;
#endif