summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat_file.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-09 12:56:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-09 12:56:13 +0000
commit8dbb19ab83cb86af7e5b832f087b9bd1eebd9906 (patch)
treec1f65f8ead22c248289c997c071532a3045f1a7c /cpukit/libfs/src/dosfs/fat_file.c
parent2003-08-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-8dbb19ab83cb86af7e5b832f087b9bd1eebd9906.tar.bz2
2003-09-09 Ralf Corsepius <ralf_corsepius@rtems.com>
PR 487/filesystem * src/dosfs/fat_file.c: Correct typing per gcc 3.3 warnings.
Diffstat (limited to '')
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c
index bc4441da06..e7fb2be35e 100644
--- a/cpukit/libfs/src/dosfs/fat_file.c
+++ b/cpukit/libfs/src/dosfs/fat_file.c
@@ -44,7 +44,7 @@ _hash_search(
Chain_Control *hash,
unsigned32 key1,
unsigned32 key2,
- void **ret
+ fat_file_fd_t **ret
);
static int
@@ -98,7 +98,7 @@ fat_file_open(
key = fat_construct_key(mt_entry, cln, ofs);
/* access "valid" hash table */
- rc = _hash_search(mt_entry, fs_info->vhash, key, 0, (void **)&lfat_fd);
+ rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);
if ( rc == RC_OK )
{
/* return pointer to fat_file_descriptor allocated before */
@@ -108,7 +108,7 @@ fat_file_open(
}
/* access "removed-but-still-open" hash table */
- rc = _hash_search(mt_entry, fs_info->rhash, key, key, (void **)&lfat_fd);
+ rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd);
lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
if ( lfat_fd == NULL )
@@ -913,7 +913,7 @@ _hash_search(
Chain_Control *hash,
unsigned32 key1,
unsigned32 key2,
- void **ret
+ fat_file_fd_t **ret
)
{
unsigned32 mod = (key1) % FAT_HASH_MODULE;