include vs. extern declaration

This commit is contained in:
tkl 2016-08-21 12:28:48 +02:00
parent de4d281b56
commit 7a8b23ea83

View File

@ -8,7 +8,6 @@
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h> #include <stddef.h>
#include "board.h"
#include "queue.h" #include "queue.h"
#include "stack.h" #include "stack.h"
#include "kernel.h" #include "kernel.h"
@ -17,6 +16,7 @@ static struct thread_context main_task;
static stack_t main_stack[0xFF]; static stack_t main_stack[0xFF];
extern void main(void *arg); extern void main(void *arg);
extern void board_init(void);
int start_application (int argc, char* argv[]) int start_application (int argc, char* argv[])
{ {