From: Philippe Gerum <r...@xenomai.org>

Signed-off-by: Philippe Gerum <r...@xenomai.org>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---
 lib/cobalt/wrappers.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/cobalt/wrappers.c b/lib/cobalt/wrappers.c
index 860b260201..18c237734f 100644
--- a/lib/cobalt/wrappers.c
+++ b/lib/cobalt/wrappers.c
@@ -524,6 +524,12 @@ int __real_clock_gettime(clockid_t clk_id, struct timespec 
*tp)
        return clock_gettime(clk_id, tp);
 }
 
+__weak
+int __real_clock_settime(clockid_t clk_id, const struct timespec *tp)
+{
+       return clock_settime(clk_id, tp);
+}
+
 __weak
 int __real_sigwait(const sigset_t *set, int *sig)
 {
-- 
2.26.2


Reply via email to