summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-10 10:12:28 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-10 10:12:28 +0000
commit2144d18754c03800997cf25585151ec66087bc52 (patch)
treeb4effcb886be57c0781ae0fea98997cd4c94e23c /cpukit
parent2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/src/unmount.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6d2efc40f7..d4b512ce52 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+ * libcsupport/src/unmount.c: Removed obsolete declarations. Fixed
+ invalid memory free.
+
+2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
rtems_ftpfs_mount().
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;