[PATCH 22/32] testsuite/spitest: Rearrange includes
Florian Bezdeka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <20260508-wip-flo-refactor-includes-v1-22-e449f2bd4fc2@siemens.com> |
Moving from "local to global" should help us to keep headers self-contained. Signed-off-by: Florian Bezdeka <[email protected]> --- testsuite/spitest/spitest.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/testsuite/spitest/spitest.c b/testsuite/spitest/spitest.c index 88eca0246c678512bcdc9e6ab3023fe71fbe753d..afb0c7e6cd1e59ab686510386dc71e41aa800c01 100644 --- a/testsuite/spitest/spitest.c +++ b/testsuite/spitest/spitest.c @@ -21,19 +21,13 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <sys/types.h> -#include <sys/mman.h> -#include <sys/ioctl.h> -#include <sys/timerfd.h> -#include <stdio.h> -#include <semaphore.h> -#include <errno.h> -#include <unistd.h> -#include <fcntl.h> #include <smokey/smokey.h> -#include <linux/spi/spidev.h> #include <rtdm/spi.h> +#include <linux/spi/spidev.h> +#include <sys/mman.h> +#include <sys/timerfd.h> + smokey_test_plugin(spi_transfer, SMOKEY_ARGLIST( SMOKEY_STRING(device), -- 2.54.0