Skip to content

Commit

Permalink
Fix atexit signature
Browse files Browse the repository at this point in the history
Fix the atexit signature to be consistent with <stdlib.h>
  • Loading branch information
Ebola-Chan-bot authored Oct 8, 2024
1 parent 321fca0 commit 9510762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/arduino/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ typedef uint8_t byte;
void init(void);
void initVariant(void);

int atexit(void (*func)()) __attribute__((weak));
int atexit(void (*func)(void)) __attribute__((weak));

void pinMode(uint8_t pin, uint8_t mode);
void digitalWrite(uint8_t pin, uint8_t val);
Expand Down

0 comments on commit 9510762

Please sign in to comment.