Module: xenomai-3
Branch: stable-3.0.x
Commit: f71f6690c9f51866878c2232e87dff32058ece83
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f71f6690c9f51866878c2232e87dff32058ece83

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Apr 17 15:17:07 2018 +0200

testsuite/smokey: drop conflicting declaration

---

 testsuite/smokey/sched-tp/sched-tp.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/testsuite/smokey/sched-tp/sched-tp.c 
b/testsuite/smokey/sched-tp/sched-tp.c
index 8705eed..434ac3c 100644
--- a/testsuite/smokey/sched-tp/sched-tp.c
+++ b/testsuite/smokey/sched-tp/sched-tp.c
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 #include <limits.h>
 #include <memory.h>
+#include <time.h>
 #include <malloc.h>
 #include <unistd.h>
 #include <string.h>
@@ -26,10 +27,6 @@ smokey_test_plugin(sched_tp,
                   "Check the SCHED_TP scheduling policy"
 );
 
-int clock_nanosleep(clockid_t __clock_id, int __flags,
-                   __const struct timespec *__req,
-                   struct timespec *__rem);
-
 static pthread_t threadA, threadB, threadC;
 
 static sem_t barrier;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to