From da3c1ce098fbfa699770447cf99cf19f6ac95fb1 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 29 Nov 2024 14:35:21 -0700 Subject: Tidy #includes --- libcr/coroutine.c | 2 +- libusb/usb_common.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libcr/coroutine.c b/libcr/coroutine.c index a4d41e8..dbeef12 100644 --- a/libcr/coroutine.c +++ b/libcr/coroutine.c @@ -4,7 +4,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -#include /* for setjmp(), longjmp(), jmp_buf */ #include /* for uint8_t */ #include /* for aligned_alloc(), free() */ #include /* for strncpy(), memset() */ @@ -308,6 +307,7 @@ * 1. Allow us to inspect the buffer. * 2. Do *not* save the interrupt mask. */ + #include /* for setjmp(), longjmp(), jmp_buf */ typedef struct { jmp_buf raw; #if CONFIG_COROUTINE_MEASURE_STACK diff --git a/libusb/usb_common.c b/libusb/usb_common.c index 9a23998..29dec42 100644 --- a/libusb/usb_common.c +++ b/libusb/usb_common.c @@ -6,9 +6,10 @@ #include /* for uint{n}_t types */ #include /* for size_t */ -#include /* memcpy(newlib) */ -#include /* for malloc(pico_malloc), realloc(pico_malloc), reallocarray(pico_malloc) */ -#include "tusb.h" /* for various tusb_*_t types */ +#include /* memcpy() */ +#include /* for malloc(), realloc(), reallocarray() */ + +#include /* for various tusb_*_t types */ #include -- cgit v1.2.3-2-g168b