Browse Source

Fix conflicting types (flash_write()) in trab auto_update.c

Marian Balakowicz 19 years ago
parent
commit
170d5e6d4c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      board/trab/auto_update.c

+ 1 - 1
board/trab/auto_update.c

@@ -199,7 +199,7 @@ extern int transfer_pic(unsigned char, unsigned char *, int, int);
 #endif
 #endif
 extern int flash_sect_erase(ulong, ulong);
 extern int flash_sect_erase(ulong, ulong);
 extern int flash_sect_protect (int, ulong, ulong);
 extern int flash_sect_protect (int, ulong, ulong);
-extern int flash_write (uchar *, ulong, ulong);
+extern int flash_write (char *, ulong, ulong);
 /* change char* to void* to shutup the compiler */
 /* change char* to void* to shutup the compiler */
 extern int i2c_write_multiple (uchar, uint, int, void *, int);
 extern int i2c_write_multiple (uchar, uint, int, void *, int);
 extern int i2c_read_multiple (uchar, uint, int, void *, int);
 extern int i2c_read_multiple (uchar, uint, int, void *, int);