Module: xenomai-jki Branch: for-upstream Commit: feab2956de85c3dd1085dcdfc818dd0203022409 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=feab2956de85c3dd1085dcdfc818dd0203022409
Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Jul 29 13:41:37 2011 +0200 Drop debug version of __wrap_clock_gettime See comment for the reason. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- src/skins/common/assert_context.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/skins/common/assert_context.c b/src/skins/common/assert_context.c index c172b2f..d7f74c4 100644 --- a/src/skins/common/assert_context.c +++ b/src/skins/common/assert_context.c @@ -81,9 +81,9 @@ int __wrap_gettimeofday(struct timeval *tv, struct timezone *tz) return __real_gettimeofday(tv, tz); } -__attribute__ ((weak)) -int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) -{ - assert_nrt(); - return __real_clock_gettime(clk_id, tp); -} +/* + * clock_gettime is vsyscall-based as well, but we already provide a wrapper + * via the posix skin. A second version here, even if tagged weak, easily + * causes troubles if a certain linking order is not strictly applied. + * Therefore, no debug helper is provided via the libxenomai. + */ _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git