From 85ea7f79d191a61dccccc85ca90a8bff5e4efe66 Mon Sep 17 00:00:00 2001 From: johanknol Date: Sat, 27 Oct 2001 17:13:45 +0000 Subject: [PATCH] Make the examples work again git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1451 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/include/tinibios.h | 4 ++-- device/lib/ds390/lcd390.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/device/include/tinibios.h b/device/include/tinibios.h index 20168809..810789fd 100755 --- a/device/include/tinibios.h +++ b/device/include/tinibios.h @@ -65,8 +65,8 @@ extern void LcdGoto(unsigned int collumnRow); extern void LcdPutChar(char c); extern void LcdPutString(char *string); extern void LcdLPutString(unsigned int collumnRow, char *string); -extern void LcdPrintf(xdata const char *format, ...) reentrant; -extern void LcdLPrintf(unsigned int collumnRow, xdata const char *format, ...) reentrant; +extern void LcdPrintf(const char *format, ...) reentrant; +extern void LcdLPrintf(unsigned int collumnRow, const char *format, ...) reentrant; // from i2c390.c #define I2C_BUFSIZE 128 diff --git a/device/lib/ds390/lcd390.c b/device/lib/ds390/lcd390.c index 18af6ec2..d9d071fb 100644 --- a/device/lib/ds390/lcd390.c +++ b/device/lib/ds390/lcd390.c @@ -147,7 +147,7 @@ void LcdLPutString (unsigned int collumnRow, char *string) { // however they will :), so to be sure static char lcdPrintfBuffer[LCD_COLLUMNS*4]; -void LcdPrintf (xdata const char *format, ...) reentrant { +void LcdPrintf (const char *format, ...) reentrant { va_list arg; va_start (arg, format); @@ -158,7 +158,7 @@ void LcdPrintf (xdata const char *format, ...) reentrant { va_end (arg); } -void LcdLPrintf (unsigned int collumnRow, xdata const char *format, ...) reentrant { +void LcdLPrintf (unsigned int collumnRow, const char *format, ...) reentrant { va_list arg; LcdGoto(collumnRow); -- 2.47.2