diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-28 13:52:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-03-28 13:52:49 +0000 |
commit | 9fff6bfac6f5133f45f72deaa0ba28a79702cbaa (patch) | |
tree | 8cedaf0afa3a7c0ae70ed6b0bf9720160ea67654 /cpukit/libfs/src/dosfs/fat_file.c | |
parent | 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-9fff6bfac6f5133f45f72deaa0ba28a79702cbaa.tar.bz2 |
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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 ..).
Diffstat (limited to 'cpukit/libfs/src/dosfs/fat_file.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/fat_file.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 <bsp.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -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; |