[PATCH 15/32] testsuite/smokey/arith: Rearrange includes
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <20260508-wip-flo-refactor-includes-v1-15-e449f2bd4fc2@siemens.com> |
Moving from "local to global" should help us to keep headers self-contained. Signed-off-by: Florian Bezdeka <[email protected]> --- testsuite/smokey/arith/arith-noinline.c | 3 ++- testsuite/smokey/arith/arith.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/testsuite/smokey/arith/arith-noinline.c b/testsuite/smokey/arith/arith-noinline.c index cb10e6445612e079dd7865a8a8fe81dc9da13dad..d806ab73f9dd8fc38c2a4987f35729e38e923ab5 100644 --- a/testsuite/smokey/arith/arith-noinline.c +++ b/testsuite/smokey/arith/arith-noinline.c @@ -1,6 +1,7 @@ -#include <cobalt/arith.h> #include "arith-noinline.h" +#include <cobalt/arith.h> + long long dummy(void) { return 0; diff --git a/testsuite/smokey/arith/arith.c b/testsuite/smokey/arith/arith.c index edb87229a08cd6f14d4f95c292b4bab7712e22b6..25bfe97af7fc9cf1015838f38ecaeecc1d305cfe 100644 --- a/testsuite/smokey/arith/arith.c +++ b/testsuite/smokey/arith/arith.c @@ -1,8 +1,8 @@ -#include <stdio.h> -#include <smokey/smokey.h> -#include <cobalt/arith.h> #include "arith-noinline.h" +#include <cobalt/arith.h> +#include <smokey/smokey.h> + smokey_test_plugin(arith, SMOKEY_NOARGS, "Check helpers for fast arithmetics" -- 2.54.0