From 1cc2fd13847ee25a00f337d4f47172b37a0ee29e Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 18 May 2011 17:47:38 +0200 Subject: [PATCH] main returns int, not void. while gcc doesn't care, clang/llvm insists on this --- lpc1xxx/LPC1xxx_startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lpc1xxx/LPC1xxx_startup.c b/lpc1xxx/LPC1xxx_startup.c index db54ec3..f234271 100644 --- a/lpc1xxx/LPC1xxx_startup.c +++ b/lpc1xxx/LPC1xxx_startup.c @@ -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()