X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Ftiming%2Fcl_t_current2.cc;h=904a738c1f545ac2bb6aa5ec15d8ee0f824e28c9;hb=a8369235e23acbacbad414dc1675be8c279e27a2;hp=5a0bfb05eb2bdb3d9bd54c5f1eaf74dc3327ba2a;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/timing/cl_t_current2.cc b/src/timing/cl_t_current2.cc index 5a0bfb0..904a738 100644 --- a/src/timing/cl_t_current2.cc +++ b/src/timing/cl_t_current2.cc @@ -4,7 +4,7 @@ #include "cl_sysdep.h" // Specification. -#include "cl_timing.h" +#include "cln/timing.h" // Implementation. @@ -23,12 +23,14 @@ extern "C" clock_t times (struct tms * buffer); #endif #ifdef HAVE_PERROR_DECL - #include - #include + #include + #include #else extern "C" int perror (const char *); #endif +namespace cln { + const cl_time_consumption cl_current_time_consumption () { var cl_time_consumption result; @@ -64,3 +66,5 @@ const cl_time_consumption cl_current_time_consumption () return result; } + +} // namespace cln