From 6e53662159f26dc290834c15c2cdf741bbca8a5e Mon Sep 17 00:00:00 2001 From: michaelh Date: Sat, 21 Jul 2001 05:35:35 +0000 Subject: [PATCH] Fixed them to compile git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1091 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/regression/tests/bug-223113.c | 4 +++- support/regression/tests/bug-408972.c | 4 ++++ support/regression/tests/bug-426632.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/support/regression/tests/bug-223113.c b/support/regression/tests/bug-223113.c index de4e1e50..82a338c6 100644 --- a/support/regression/tests/bug-223113.c +++ b/support/regression/tests/bug-223113.c @@ -1,3 +1,5 @@ +#include + /* *------------------------------------------------- */ @@ -22,7 +24,7 @@ /* * *-------------------------------------------------- * */ - void main( void ) + void __main( void ) { puts( "hello world\n" ); } diff --git a/support/regression/tests/bug-408972.c b/support/regression/tests/bug-408972.c index 98f47e15..ab8ded70 100644 --- a/support/regression/tests/bug-408972.c +++ b/support/regression/tests/bug-408972.c @@ -1,3 +1,7 @@ +/* Fake header. + */ +#include + long leftShiftLong (long l) { /* PENDING: Disabled. return (l << 3); diff --git a/support/regression/tests/bug-426632.c b/support/regression/tests/bug-426632.c index ae5a3a45..8d29050f 100644 --- a/support/regression/tests/bug-426632.c +++ b/support/regression/tests/bug-426632.c @@ -1,3 +1,5 @@ +#include + typedef struct { unsigned char year; /* Current * year (with offset 1900) */ @@ -11,7 +13,7 @@ unsigned char year; unsigned char month; unsigned char day; -void *main() +void *__main() { float i; float y; -- 2.30.2