From a8929762292ee2a1f6384220595679ca20f409f7 Mon Sep 17 00:00:00 2001 From: ALTracer Date: Sat, 9 Dec 2023 21:13:30 +0300 Subject: [PATCH] general: Remove alloca.h blocks in favor of general.h --- src/command.c | 6 ------ src/gdb_main.c | 5 ----- src/target/cortexm.c | 5 ----- 3 files changed, 16 deletions(-) diff --git a/src/command.c b/src/command.c index 5d6dfc682a0..1e44bbd5d1d 100644 --- a/src/command.c +++ b/src/command.c @@ -46,12 +46,6 @@ #include "traceswo.h" #endif -#if defined(_WIN32) -#include -#else -#include -#endif - static bool cmd_version(target_s *t, int argc, const char **argv); static bool cmd_help(target_s *t, int argc, const char **argv); diff --git a/src/gdb_main.c b/src/gdb_main.c index 62fb78784c3..68f89bc0a75 100644 --- a/src/gdb_main.c +++ b/src/gdb_main.c @@ -55,11 +55,6 @@ #define GDB_QSUPPORTED_NOACKMODE #endif -#if defined(_WIN32) -#include -#else -#include -#endif #include typedef enum gdb_signal { diff --git a/src/target/cortexm.c b/src/target/cortexm.c index aa7334b2988..3bb1ea8b275 100644 --- a/src/target/cortexm.c +++ b/src/target/cortexm.c @@ -45,11 +45,6 @@ #include #include -#if defined(_WIN32) || defined(__CYGWIN__) -#include -#else -#include -#endif #include #include #include