main returns int, not void. while gcc doesn't care, clang/llvm insists on this
This commit is contained in:
parent
1b0ccf7af4
commit
1cc2fd1384
|
@ -36,7 +36,7 @@ extern unsigned char _bss;
|
||||||
extern unsigned char _ebss;
|
extern unsigned char _ebss;
|
||||||
|
|
||||||
// Prototype the required startup functions
|
// Prototype the required startup functions
|
||||||
extern void main(void);
|
extern int main(void);
|
||||||
|
|
||||||
// The entry point of the application, prepare segments,
|
// The entry point of the application, prepare segments,
|
||||||
// initialize the cpu and execute main()
|
// initialize the cpu and execute main()
|
||||||
|
|
Loading…
Reference in New Issue