projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: run namespace tests only on Linux
[lttng-tools.git]
/
src
/
common
/
compat
/
time.h
diff --git
a/src/common/compat/time.h
b/src/common/compat/time.h
index f00a54127c7369a2c7612847d642cd4504de61c7..72a9afff47ef0a4db433bc3f78d995b98ef0d3fd 100644
(file)
--- a/
src/common/compat/time.h
+++ b/
src/common/compat/time.h
@@
-16,7
+16,7
@@
typedef uint64_t timer_t;
#include <mach/mach.h>
#include <mach/clock.h>
#include <mach/mach.h>
#include <mach/clock.h>
-#include <errno.h>
+#include <
common/compat/
errno.h>
#undef NSEC_PER_SEC
#undef NSEC_PER_MSEC
#undef NSEC_PER_SEC
#undef NSEC_PER_MSEC
@@
-53,8
+53,8
@@
int lttng_clock_gettime(clockid_t clk_id, struct timespec *tp)
goto deallocate;
}
goto deallocate;
}
-
tp->tv_sec = now.tv_sec;
-
tp->tv_nsec = now.tv_nsec;
+ tp->tv_sec = now.tv_sec;
+ tp->tv_nsec = now.tv_nsec;
deallocate:
mach_port_deallocate(mach_task_self(), clock);
deallocate:
mach_port_deallocate(mach_task_self(), clock);
This page took
0.024293 seconds
and
4
git commands to generate.