diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-21 20:12:28 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-22 07:52:40 +0100 |
commit | c625a641218fbda23582354b3cfc7a7c7a4e4287 (patch) | |
tree | 82853d039ebb88fb4e7afe0b572c1d072a3f4d00 /cpukit/libcsupport/src/sup_fs_node_type.c | |
parent | powerpc: Fix AltiVec VSCR save/restore (diff) | |
download | rtems-c625a641218fbda23582354b3cfc7a7c7a4e4287.tar.bz2 |
Filesystem: Delete node type operation
Use the fstat handler instead.
Diffstat (limited to 'cpukit/libcsupport/src/sup_fs_node_type.c')
-rw-r--r-- | cpukit/libcsupport/src/sup_fs_node_type.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/cpukit/libcsupport/src/sup_fs_node_type.c b/cpukit/libcsupport/src/sup_fs_node_type.c deleted file mode 100644 index a86d08e56d..0000000000 --- a/cpukit/libcsupport/src/sup_fs_node_type.c +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @file - * - * @brief Returns the Type of a Node - * @ingroup LibIOInternal - */ - -/* - * Copyright (c) 2012 embedded brains GmbH. All rights reserved. - * - * embedded brains GmbH - * Obere Lagerstr. 30 - * 82178 Puchheim - * Germany - * <rtems@embedded-brains.de> - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H - #include "config.h" -#endif - -#include <rtems/libio_.h> - -rtems_filesystem_node_types_t rtems_filesystem_node_type( - const rtems_filesystem_location_info_t *loc -) -{ - rtems_filesystem_node_types_t type; - - rtems_filesystem_instance_lock(loc); - type = (*loc->mt_entry->ops->node_type_h)(loc); - rtems_filesystem_instance_unlock(loc); - - return type; -} |