Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_virtual.h')
-rw-r--r--winsup/cygwin/fhandler_virtual.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/winsup/cygwin/fhandler_virtual.h b/winsup/cygwin/fhandler_virtual.h
index f92c06b89..9747dd2cb 100644
--- a/winsup/cygwin/fhandler_virtual.h
+++ b/winsup/cygwin/fhandler_virtual.h
@@ -1,6 +1,6 @@
/* fhandler_virtual.h: Header for virtual fhandlers
- Copyright 2009, 2010, 2011, 2014 Red Hat, Inc.
+ Copyright 2009, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -20,26 +20,3 @@ struct virt_tab_t {
extern virt_tab_t *virt_tab_search (const char *, bool, const virt_tab_t *,
size_t);
-
-static inline unsigned char
-virt_ftype_to_dtype (virtual_ftype_t type)
-{
- unsigned char d_type;
-
- switch (type)
- {
- case virt_directory:
- d_type = DT_DIR;
- break;
- case virt_symlink:
- d_type = DT_LNK;
- break;
- case virt_file:
- d_type = DT_REG;
- break;
- default:
- d_type = DT_UNKNOWN;
- break;
- }
- return d_type;
-}