8000 A few more missing-prototypes fixes · jcbender/circuitpython@cd6599c · GitHub
[go: up one dir, main page]

Skip to content

Commit cd6599c

Browse files
committed
A few more missing-prototypes fixes
1 parent 25ff6b0 commit cd6599c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

ports/atmel-samd/boards/pewpew_m4/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ typedef struct {
5050

5151
#define DELAY 0x80
5252

53-
uint32_t lookupCfg(uint32_t key, uint32_t defl) {
53+
STATIC uint32_t lookupCfg(uint32_t key, uint32_t defl) {
5454
const uint32_t *ptr = UF2_BINFO->config_data;
5555
if (!ptr || (((uint32_t)ptr) & 3) || *ptr != CFG_MAGIC0) {
5656
// no config data!

ports/atmel-samd/common-hal/canio/Listener.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ STATIC void install_extended_filter(CanMramXidfe *extended, int id1, int id2, in
195195

196196

197197
#define NO_ID (-1)
198-
void set_filters(canio_listener_obj_t *self, size_t nmatch, canio_match_obj_t **matches) {
198+
STATIC void set_filters(canio_listener_obj_t *self, size_t nmatch, canio_match_obj_t **matches) {
199199
int fifo = self->fifo_idx;
200200

201201
if (!nmatch) {

ports/espressif/boards/ai_thinker_esp32-c3s/board.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,3 @@ bool board_requests_safe_mode(void) {
5252

5353
void reset_board(void) {
5454
}
55-
56-
void board_deinit(void) {
57-
}

0 commit comments

Comments
 (0)
0