summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 15:07:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 16:57:59 +0200
commit29192481a8adb4e4f6f0a92a44e7cd3aaf1bb3cd (patch)
tree550e11c7c9eb57e15cb03003992bf45763581d53
parentFilesystem: Remove duplicate prototype (diff)
downloadrtems-29192481a8adb4e4f6f0a92a44e7cd3aaf1bb3cd.tar.bz2
devfs: C++ compatibility
-rw-r--r--cpukit/libfs/src/devfs/devfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devfs.h b/cpukit/libfs/src/devfs/devfs.h
index 758edf932b..64b86d44c1 100644
--- a/cpukit/libfs/src/devfs/devfs.h
+++ b/cpukit/libfs/src/devfs/devfs.h
@@ -59,7 +59,7 @@ static inline const devFS_data *devFS_get_data(
const rtems_filesystem_location_info_t *loc
)
{
- return loc->mt_entry->immutable_fs_info;
+ return (const devFS_data *) loc->mt_entry->immutable_fs_info;
}
extern void devFS_eval_path(