Update of /cvsroot/blob/blob/src/diag
In directory usw-pr-cvs1:/tmp/cvs-serv6782/src/diag
Modified Files:
lcd.c
Log Message:
make it compile on all platforms with --enable-all-features enabled
lcd_test() can be a static function
Index: lcd.c
===================================================================
RCS file: /cvsroot/blob/blob/src/diag/lcd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lcd.c 2001/10/09 17:53:37 1.2
+++ lcd.c 2001/10/09 19:24:54 1.3
@@ -35,7 +35,6 @@
#include <blob/command.h>
#include <blob/serial.h>
#include <blob/sa1100.h>
-#include <blob/sa1111.h>
#include <blob/lcd.h>
@@ -144,10 +143,12 @@
return 0;
}
-static char testlcdhelp[] = "lcdtest\nTests lcd display\n";
-__commandlist(lcd_test, "lcdtest", testlcdhelp);
+/**********************************************************************
+ * Statische Funktionen
+ */
-int WEAK_SYM lcd_test( void )
+
+static int lcd_test( int argc, char *argv[] )
{
int ret = 0;
int x,y;
@@ -212,9 +213,8 @@
return 0;
}
-/**********************************************************************
- * Statische Funktionen
- */
+static char testlcdhelp[] = "lcdtest\nTests lcd display\n";
+__commandlist(lcd_test, "lcdtest", testlcdhelp);
void lcd_palette_set( int no, int val )
{
|