[PATCH 23/32] testsuite/switchtest: Rearrange includes
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <20260508-wip-flo-refactor-includes-v1-23-e449f2bd4fc2@siemens.com> |
Moving from "local to global" should help us to keep headers self-contained. Signed-off-by: Florian Bezdeka <[email protected]> --- testsuite/switchtest/switchtest.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/testsuite/switchtest/switchtest.c b/testsuite/switchtest/switchtest.c index a2ff42dcfdd6cc894913ecf3184da07a5474ebf8..eebd2de38bfa37a043e8f65ddbcddddd13c2722b 100644 --- a/testsuite/switchtest/switchtest.c +++ b/testsuite/switchtest/switchtest.c @@ -21,29 +21,21 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <ctype.h> -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <stdarg.h> -#include <limits.h> -#include <sched.h> -#include <signal.h> -#include <unistd.h> -#include <pthread.h> -#include <semaphore.h> -#include <setjmp.h> -#include <getopt.h> -#include <asm/unistd.h> #include <asm/xenomai/features.h> #include <asm/xenomai/uapi/fptest.h> -#include <cobalt/uapi/asm-generic/syscall.h> #include <cobalt/trace.h> +#include <cobalt/uapi/asm-generic/syscall.h> #include <rtdm/testing.h> #include <sys/cobalt.h> #include <xenomai/init.h> +#include <asm/unistd.h> +#include <ctype.h> +#include <getopt.h> +#include <setjmp.h> +#include <stdlib.h> +#include <string.h> + static unsigned int nr_cpus; #define for_each_cpu(__cpu) \ -- 2.54.0