[PATCH] demo: Remove obsolete includes

Jan Kiszka jan.kiszka at siemens.com
Mon Sep 28 19:34:01 CEST 2020


From: Jan Kiszka <jan.kiszka at siemens.com>

They only break building outside of the tree.

Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
 demo/alchemy/altency.c             | 2 --
 demo/posix/cyclictest/cyclictest.c | 1 -
 2 files changed, 3 deletions(-)

diff --git a/demo/alchemy/altency.c b/demo/alchemy/altency.c
index 4b49755eda..e7c31d7c17 100644
--- a/demo/alchemy/altency.c
+++ b/demo/alchemy/altency.c
@@ -444,8 +444,6 @@ static void faulthand(int sig)
 
 #ifdef CONFIG_XENO_COBALT
 
-#include <cobalt/uapi/syscall.h>
-
 static const char *reason_str[] = {
 	[SIGDEBUG_UNDEFINED] = "received SIGDEBUG for unknown reason",
 	[SIGDEBUG_MIGRATE_SIGNAL] = "received signal",
diff --git a/demo/posix/cyclictest/cyclictest.c b/demo/posix/cyclictest/cyclictest.c
index cddc8dda87..b92596c25b 100644
--- a/demo/posix/cyclictest/cyclictest.c
+++ b/demo/posix/cyclictest/cyclictest.c
@@ -1817,7 +1817,6 @@ void *fifothread(void *param)
 }
 
 #ifdef CONFIG_XENO_COBALT
-#include <cobalt/uapi/syscall.h>
 
 static const char *reason_str[] = {
 	[SIGDEBUG_UNDEFINED] = "received SIGDEBUG for unknown reason",
-- 
2.26.2



More information about the Xenomai mailing list