diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-10 10:12:28 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-10 10:12:28 +0000 |
commit | 2144d18754c03800997cf25585151ec66087bc52 (patch) | |
tree | b4effcb886be57c0781ae0fea98997cd4c94e23c /cpukit/libcsupport/src/unmount.c | |
parent | 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-2144d18754c03800997cf25585151ec66087bc52.tar.bz2 |
2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/unmount.c: Removed obsolete declarations. Fixed
invalid memory free.
Diffstat (limited to 'cpukit/libcsupport/src/unmount.c')
-rw-r--r-- | cpukit/libcsupport/src/unmount.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c index 164cf6ef69..b535ea9b53 100644 --- a/cpukit/libcsupport/src/unmount.c +++ b/cpukit/libcsupport/src/unmount.c @@ -33,16 +33,6 @@ #include <rtems/libio_.h> #include <rtems/seterr.h> -/* - * Data structures and routines private to mount/unmount pair. - */ - -extern rtems_chain_control rtems_filesystem_mount_table_control; - -int search_mt_for_mount_point( - rtems_filesystem_location_info_t *location_of_mount_point -); - bool rtems_filesystem_nodes_equal( const rtems_filesystem_location_info_t *loc1, const rtems_filesystem_location_info_t *loc2 @@ -213,7 +203,6 @@ int unmount( */ rtems_filesystem_freenode( fs_mount_loc ); - free( (void*) mt_entry->target ); free( mt_entry ); return 0; |