Skip to content

Commit 9510762

Browse files
Fix atexit signature
Fix the atexit signature to be consistent with <stdlib.h>
1 parent 321fca0 commit 9510762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/Arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ typedef uint8_t byte;
129129
void init(void);
130130
void initVariant(void);
131131

132-
int atexit(void (*func)()) __attribute__((weak));
132+
int atexit(void (*func)(void)) __attribute__((weak));
133133

134134
void pinMode(uint8_t pin, uint8_t mode);
135135
void digitalWrite(uint8_t pin, uint8_t val);

0 commit comments

Comments
 (0)