summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-28 13:52:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-28 13:52:49 +0000
commit9fff6bfac6f5133f45f72deaa0ba28a79702cbaa (patch)
tree8cedaf0afa3a7c0ae70ed6b0bf9720160ea67654 /cpukit
parentb7d8cb7d696370f033fcca0069bd9876a14f968d (diff)
downloadrtems-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')
-rw-r--r--cpukit/libfs/ChangeLog6
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c5
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.h2
3 files changed, 9 insertions, 4 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog
index 087b21280d..75f86745d0 100644
--- a/cpukit/libfs/ChangeLog
+++ b/cpukit/libfs/ChangeLog
@@ -1,5 +1,11 @@
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 ..).
+
+2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
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;
diff --git a/cpukit/libfs/src/dosfs/fat_file.h b/cpukit/libfs/src/dosfs/fat_file.h
index 2821a27cf7..02baf3f1ef 100644
--- a/cpukit/libfs/src/dosfs/fat_file.h
+++ b/cpukit/libfs/src/dosfs/fat_file.h
@@ -156,7 +156,7 @@ fat_file_write(rtems_filesystem_mount_table_entry_t *mt_entry,
fat_file_fd_t *fat_fd,
unsigned32 start,
unsigned32 count,
- char *buf);
+ const char *buf);
int
fat_file_extend(rtems_filesystem_mount_table_entry_t *mt_entry,