Make the examples work again
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 27 Oct 2001 17:13:45 +0000 (17:13 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 27 Oct 2001 17:13:45 +0000 (17:13 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1451 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/include/tinibios.h
device/lib/ds390/lcd390.c

index 20168809354fd394ca419ea15679ac2a8faca214..810789fdf294850519da3de007f64b8508f6c7b0 100755 (executable)
@@ -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
index 18af6ec2bffc14900b9bcd55e6b8ddfd3ea831d4..d9d071fb8bec78701d7d36832d3a379c3c81257c 100644 (file)
@@ -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);