From 9fff6bfac6f5133f45f72deaa0ba28a79702cbaa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Mar 2002 13:52:49 +0000 Subject: 2002-03-27 Ralf Corsepius * src/dosfs/fat_file.c: Remove bsp.h. fat_file_write(.. const char*buf ..). * src/dosfs/fat_file.h: fat_file_write(.. const char*buf ..). --- cpukit/libfs/src/dosfs/fat_file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpukit/libfs/src/dosfs/fat_file.c') diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c index 4fd8a5024f..8046f47720 100644 --- a/cpukit/libfs/src/dosfs/fat_file.c +++ b/cpukit/libfs/src/dosfs/fat_file.c @@ -10,7 +10,6 @@ * */ -#include #include #include #include @@ -355,7 +354,7 @@ fat_file_write( fat_file_fd_t *fat_fd, unsigned32 start, unsigned32 count, - char *buf + const char *buf ) { int rc = 0; @@ -363,7 +362,7 @@ fat_file_write( fat_fs_info_t *fs_info = mt_entry->fs_info; unsigned32 cmpltd = 0; unsigned32 cur_cln = 0; - unsigned32 save_cln; + unsigned32 save_cln = 0; /* FIXME: This might be incorrect, cf. below */ unsigned32 cl_start = 0; unsigned32 ofs = 0; unsigned32 save_ofs; -- cgit v1.2.3