[PATCH 13/32] testsuite/gpiotest: Rearrange includes

Florian Bezdeka <[email protected]>
Newsgroups dev.linux.lists.xenomai
Message-ID <20260508-wip-flo-refactor-includes-v1-13-e449f2bd4fc2@siemens.com>
Moving from "local to global" should help us to keep headers
self-contained.

Signed-off-by: Florian Bezdeka <[email protected]>
---
 testsuite/gpiotest/gpiotest.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/testsuite/gpiotest/gpiotest.c b/testsuite/gpiotest/gpiotest.c
index b86a88515413f4cafbbf7898926ab9f01481a47d..65ca430d8d08660a7c847209e7407280ce03878b 100644
--- a/testsuite/gpiotest/gpiotest.c
+++ b/testsuite/gpiotest/gpiotest.c
@@ -21,15 +21,11 @@
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-#include <error.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <fcntl.h>
 #include <smokey/smokey.h>
 #include <rtdm/gpio.h>
 
+#include <error.h>
+
 smokey_test_plugin(interrupt,
 		   SMOKEY_ARGLIST(
 			   SMOKEY_STRING(device),

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.