From a45a92a71facdcb571a517cc477e92c93a7806cc Mon Sep 17 00:00:00 2001 From: Sven Michael Klose Date: Sat, 25 Dec 2021 21:21:01 +0100 Subject: [PATCH] main(): No return value. --- targettest/gamate/ctest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/targettest/gamate/ctest.c b/targettest/gamate/ctest.c index c3ee819bc..9acbe94cd 100644 --- a/targettest/gamate/ctest.c +++ b/targettest/gamate/ctest.c @@ -7,7 +7,7 @@ unsigned char y = 0; unsigned char x = 0; unsigned short n; -int main(void) +void main(void) { clrscr(); gotoxy(0,0);cputs("Gamate C-Test"); @@ -47,6 +47,4 @@ int main(void) (*((unsigned char*)LCD_YPOS)) = y; } - - return 0; }