X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Ftextomml%2Fmain.cc;h=9da0f0993e52479e09b54cf226d0b6efb853b346;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=19a9621895a22d52a893d1b593d2dcd9232557ae;hpb=c112706f347e08e7f345131fbc4c3aa0e9ecc7b5;p=helm.git diff --git a/helm/DEVEL/mathml_editor/textomml/main.cc b/helm/DEVEL/mathml_editor/textomml/main.cc index 19a962189..9da0f0993 100644 --- a/helm/DEVEL/mathml_editor/textomml/main.cc +++ b/helm/DEVEL/mathml_editor/textomml/main.cc @@ -24,8 +24,8 @@ */ #include - #include +#include #include "dom.hh" #include "TPushParser.hh" @@ -98,7 +98,7 @@ parseError(const char* option) printHelp(); } -void +int main(int argc, char* argv[]) { CLoggerConsole logger; @@ -175,7 +175,7 @@ main(int argc, char* argv[]) if (optind < argc) { - ifstream file(argv[optind]); + std::ifstream file(argv[optind]); if (!file) { std::cerr << "can't open input file `" << argv[optind] << "'" << std::endl;