main returns int, not void. while gcc doesn't care, clang/llvm insists on this

This commit is contained in:
Stefan `Sec` Zehl 2011-05-18 17:47:38 +02:00
parent 1b0ccf7af4
commit 1cc2fd1384
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ extern unsigned char _bss;
extern unsigned char _ebss;
// Prototype the required startup functions
extern void main(void);
extern int main(void);
// The entry point of the application, prepare segments,
// initialize the cpu and execute main()