diff options
Diffstat (limited to 'cpukit/libcsupport/src/sup_fs_is_separator.c')
-rw-r--r-- | cpukit/libcsupport/src/sup_fs_is_separator.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cpukit/libcsupport/src/sup_fs_is_separator.c b/cpukit/libcsupport/src/sup_fs_is_separator.c deleted file mode 100644 index 2c695e0335..0000000000 --- a/cpukit/libcsupport/src/sup_fs_is_separator.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @file src/sup_fs_is_separator.c - */ - -/* - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems/libio_.h> - -/* - * rtems_filesystem_is_separator - * - * Function to determine if a character is a path name separator. - * This was originally a macro in libio_.h - * - * NOTE: This function handles MS-DOS and UNIX style names. - */ - -int rtems_filesystem_is_separator(char ch) -{ - return ((ch == '/') || (ch == '\\') || (ch == '\0')); -} |