[PATCH 14/32] testsuite/latency: Rearrange includes

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

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

diff --git a/testsuite/latency/latency.c b/testsuite/latency/latency.c
index bb97711a42db212f761b6cc02bebb51ea69d2366..edc568b6a57d076bbccc64f66f808c6ef5dd443d 100644
--- a/testsuite/latency/latency.c
+++ b/testsuite/latency/latency.c
@@ -22,24 +22,18 @@
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <stdlib.h>
+#include <boilerplate/trace.h>
+#include <rtdm/testing.h>
+#include <xenomai/init.h>
+
+#include <error.h>
 #include <math.h>
+#include <semaphore.h>
+#include <signal.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
-#include <errno.h>
-#include <error.h>
-#include <signal.h>
-#include <sched.h>
-#include <time.h>
-#include <sys/time.h>
-#include <unistd.h>
-#include <pthread.h>
-#include <semaphore.h>
 #include <sys/timerfd.h>
-#include <xeno_config.h>
-#include <rtdm/testing.h>
-#include <boilerplate/trace.h>
-#include <xenomai/init.h>
 
 pthread_t latency_task, display_task;
 

-- 
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.