]> www.ginac.de Git - cln.git/blobdiff - src/integer/division/cl_I_exquoerr.cc
* */*: Removed problematic stdin, stdout and stderr definitions.
[cln.git] / src / integer / division / cl_I_exquoerr.cc
index a295c967fa312fd4d369232469cf228fd0d6db42..a8198ac64c9c5f9dce0ec80ec86beb70e84716b7 100644 (file)
@@ -9,16 +9,20 @@
 
 // Implementation.
 
-#include "cl_io.h"
-#include "cl_integer_io.h"
-#include "cl_abort.h"
+#include "cln/io.h"
+#include "cln/integer_io.h"
+#include "cln/abort.h"
+
+namespace cln {
 
 void cl_error_exquo (const cl_I& x, const cl_I& y)
 {
-       fprint(cl_stderr, "Quotient ");
-       fprint(cl_stderr, x);
-       fprint(cl_stderr, " / ");
-       fprint(cl_stderr, y);
-       fprint(cl_stderr, " is not an integer.\n");
+       fprint(std::cerr, "Quotient ");
+       fprint(std::cerr, x);
+       fprint(std::cerr, " / ");
+       fprint(std::cerr, y);
+       fprint(std::cerr, " is not an integer.\n");
        cl_abort();
 }
+
+}  // namespace cln