From 14b3775e714fa5ff0dc77f7a9d541f8cb4169a4a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 11 Oct 2003 05:46:50 +0000 Subject: [PATCH] * vfs.h: Remove obsolete code. --- vfs/ChangeLog | 4 ++++ vfs/vfs.h | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 42034c999..2d9458852 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2003-10-11 Pavel Roskin + + * vfs.h: Remove obsolete code. + 2003-10-10 Pavel Roskin * vfs.c (vfs_flags): Eliminate, it's never assigned a non-zero diff --git a/vfs/vfs.h b/vfs/vfs.h index 6adec426b..748b45780 100644 --- a/vfs/vfs.h +++ b/vfs/vfs.h @@ -130,7 +130,6 @@ void vfs_init (void); void vfs_shut (void); - extern int vfs_type_absolute; vfs *vfs_type (char *path); vfs *vfs_split (char *path, char **inpath, char **op); vfsid vfs_ncs_getid (vfs *nvfs, char *dir, struct vfs_stamping **par); @@ -207,16 +206,11 @@ int mc_setctl (char *path, int ctlop, char *arg); #ifdef HAVE_MMAP caddr_t mc_mmap (caddr_t, size_t, int, int, int, off_t); - int mc_unmap (caddr_t, size_t); int mc_munmap (caddr_t addr, size_t len); #endif /* HAVE_MMAP */ #else -#ifdef USE_NETCODE -# undef USE_NETCODE -#endif - # undef USE_NETCODE # define vfs_fill_names(x) do { } while (0) @@ -267,7 +261,6 @@ static inline int mc_setctl(char *path, int ctlop, char *arg) { return 0; } # define mc_link link # define mc_mkdir mkdir # define mc_rmdir rmdir -# define is_special_prefix(x) 0 # define vfs_type(x) (vfs *)(NULL) # define vfs_init() do { } while (0) # define vfs_shut() do { } while (0) @@ -276,8 +269,6 @@ static inline int mc_setctl(char *path, int ctlop, char *arg) { return 0; } # define vfs_timeouts() 0 # define vfs_force_expire() do { } while (0) - typedef int vfs; - # define mc_getlocalcopy(x) NULL # define mc_ungetlocalcopy(x,y,z) do { } while (0) @@ -286,8 +277,6 @@ static inline int mc_setctl(char *path, int ctlop, char *arg) { return 0; } #endif /* USE_VFS */ -#define mc_errno errno - /* These functions are meant for use by vfs modules */ extern int vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname);