automatic commit
[universe.git] / main.cc
diff --git a/main.cc b/main.cc
index 8c98473..b677526 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -1,17 +1,6 @@
 
 
-////////////////////////////////////////////////////////////////////////////////
-// 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 published by the Free Software Foundation.                    //
-//                                                                            //
-// This program is distributed in the hope that it will be useful, but        //
-// WITHOUT ANY WARRANTY; without even the implied warranty of                 //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU          //
-// General Public License for more details.                                   //
-//                                                                            //
-// Written and (C) by François Fleuret                                        //
-// Contact <francois.fleuret@epfl.ch> for comments & bug reports              //
-////////////////////////////////////////////////////////////////////////////////
+// Written and (C) by Francois Fleuret
+// Contact <francois.fleuret@idiap.ch> for comments & bug reports
 
 #include <iostream>
 #include <fstream>
 
 #include <iostream>
 #include <fstream>
@@ -40,7 +29,7 @@ using namespace std;
 
 //////////////////////////////////////////////////////////////////////
 
 
 //////////////////////////////////////////////////////////////////////
 
-void check_opt(int argc, char **argv, int n_opt, int n, char *help) {
+void check_opt(int argc, char **argv, int n_opt, int n, const char *help) {
   if(n_opt + n >= argc) {
     cerr << "Missing argument for " << argv[n_opt] << "." << endl;
     cerr << "Expecting " << help << "." << endl;
   if(n_opt + n >= argc) {
     cerr << "Missing argument for " << argv[n_opt] << "." << endl;
     cerr << "Expecting " << help << "." << endl;