diff --git a/src/basecmd.c b/src/basecmd.c index 4902bd9d..fd80abfd 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -5,7 +5,7 @@ // This file may be distributed under the terms of the GNU GPLv3 license. #include // malloc -#include // memcpy +#include // memset #include "basecmd.h" // lookup_oid #include "board/irq.h" // irq_save #include "board/misc.h" // alloc_maxsize diff --git a/src/endstop.c b/src/endstop.c index c8aa58e6..fc63f123 100644 --- a/src/endstop.c +++ b/src/endstop.c @@ -4,7 +4,6 @@ // // This file may be distributed under the terms of the GNU GPLv3 license. -#include // offsetof #include "basecmd.h" // alloc_oid #include "board/gpio.h" // struct gpio #include "board/irq.h" // irq_disable diff --git a/src/sched.c b/src/sched.c index a5064650..eb35bc8e 100644 --- a/src/sched.c +++ b/src/sched.c @@ -5,8 +5,6 @@ // This file may be distributed under the terms of the GNU GPLv3 license. #include // setjmp -#include // va_list -#include // NULL #include "autoconf.h" // CONFIG_* #include "board/irq.h" // irq_save #include "board/misc.h" // timer_from_us diff --git a/src/stepper.c b/src/stepper.c index 8da71e84..23a073b1 100644 --- a/src/stepper.c +++ b/src/stepper.c @@ -4,7 +4,6 @@ // // This file may be distributed under the terms of the GNU GPLv3 license. -#include // NULL #include "autoconf.h" // CONFIG_* #include "basecmd.h" // alloc_oid #include "board/gpio.h" // gpio_out_write