[PATCH 25/32] demo/alchemy: Rearrange includes
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <20260508-wip-flo-refactor-includes-v1-25-e449f2bd4fc2@siemens.com> |
Moving from "local to global" should help us to keep headers self-contained. Signed-off-by: Florian Bezdeka <[email protected]> --- demo/alchemy/altency.c | 15 ++++----------- demo/alchemy/cobalt/cross-link.c | 3 --- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/demo/alchemy/altency.c b/demo/alchemy/altency.c index 43ce8ea4a890ef0446dde1a02e9208af00d7fe6a..7775d6a0976bc376cd894b0bebd0e86ac59ee45e 100644 --- a/demo/alchemy/altency.c +++ b/demo/alchemy/altency.c @@ -4,21 +4,14 @@ * Licensed under the LGPL v2.1. */ -#include <stdlib.h> -#include <math.h> -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <sched.h> -#include <time.h> -#include <unistd.h> -#include <signal.h> -#include <alchemy/task.h> #include <alchemy/sem.h> -#include <rtdm/testing.h> +#include <alchemy/task.h> #include <boilerplate/trace.h> +#include <rtdm/testing.h> #include <xenomai/init.h> +#include <math.h> + RT_TASK latency_task, display_task; RT_SEM display_sem; diff --git a/demo/alchemy/cobalt/cross-link.c b/demo/alchemy/cobalt/cross-link.c index 0a62c074fa94740e3b9e5f6540f1542eadfba2a7..464b91d46ee566ce40ab89540f7616d13edf4c3c 100644 --- a/demo/alchemy/cobalt/cross-link.c +++ b/demo/alchemy/cobalt/cross-link.c @@ -21,9 +21,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> -#include <signal.h> -#include <unistd.h> #include <alchemy/task.h> #include <rtdm/serial.h> -- 2.54.0