X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;ds=sidebyside;f=src%2Freal%2Fformat-output%2Fcl_fmt_oldroman.cc;h=b69029bc29da1029f4709250c9babf572f34b1f8;hb=f3b29e52ea5a7b013f8294065920365e5d17d18f;hp=36e622e807df7a3e27dd8fe70311d8d7aee43d9a;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/real/format-output/cl_fmt_oldroman.cc b/src/real/format-output/cl_fmt_oldroman.cc index 36e622e..b69029b 100644 --- a/src/real/format-output/cl_fmt_oldroman.cc +++ b/src/real/format-output/cl_fmt_oldroman.cc @@ -9,16 +9,18 @@ // Implementation. -#include "cl_integer.h" -#include "cl_integer_io.h" -#include "cl_abort.h" +#include "cln/integer.h" +#include "cln/integer_io.h" +#include "cln/abort.h" -void format_old_roman (cl_ostream stream, const cl_I& arg) +namespace cln { + +void format_old_roman (std::ostream& stream, const cl_I& arg) { if (!(0 < arg && arg < 5000)) { - fprint(cl_stderr, "format_old_roman: argument should be in the range 1 - 4999, not "); - fprint(cl_stderr, arg); - fprint(cl_stderr, ".\n"); + fprint(std::cerr, "format_old_roman: argument should be in the range 1 - 4999, not "); + fprint(std::cerr, arg); + fprint(std::cerr, ".\n"); cl_abort(); } var uintL value = cl_I_to_UL(arg); @@ -42,3 +44,5 @@ void format_old_roman (cl_ostream stream, const cl_I& arg) } } } + +} // namespace cln