main should always return int
this fixes some compiler warnings
This commit is contained in:
parent
b41fd19216
commit
8f74612762
@ -37,7 +37,7 @@ volatile tcb_t *sched_threads[MAXTHREADS];
|
||||
volatile tcb_t *active_thread;
|
||||
volatile int lpm_prevent_sleep = 0;
|
||||
|
||||
extern void main(void);
|
||||
extern int main(void);
|
||||
|
||||
static void idle_thread(void) {
|
||||
while(1) {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
#define ENABLE_DEBUG
|
||||
#include <debug.h>
|
||||
|
||||
extern void main(void);
|
||||
extern int main(void);
|
||||
|
||||
void auto_init(void) {
|
||||
#ifdef MODULE_BOARD_DISPLAY
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user