More missing-prototypes fixes

This commit is contained in:
Jeff Epler 2021-11-10 12:22:07 -06:00
parent 017b52c455
commit 5cba23e04d
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
3 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,7 @@
#include "shared-bindings/rtc/__init__.h"
#include "shared_timers.h"
#include "reset.h"
#include "common-hal/pulseio/PulseIn.h"
#include "supervisor/background_callback.h"
#include "supervisor/shared/safe_mode.h"

View File

@ -24,5 +24,7 @@
* THE SOFTWARE.
*/
#include "modules/module.h"
void never_reset_module_internal_pins(void) {
}

View File

@ -137,6 +137,9 @@ else
endif
endif
SRC_TINYUSB = $(filter lib/tinyusb/%.c, $(SRC_SUPERVISOR))
$(patsubst %.c,$(BUILD)/%.o,$(SRC_TINYUSB)): CFLAGS += -Wno-missing-prototypes
SUPERVISOR_O = $(addprefix $(BUILD)/, $(SRC_SUPERVISOR:.c=.o))
ifeq ($(CIRCUITPY_DISPLAYIO), 1)