diff --git a/vfs/ChangeLog b/vfs/ChangeLog index f71208839..c93b9cb5d 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,5 +1,8 @@ 2002-09-05 Pavel Roskin + * direntry.c [!USE_NETCODE]: Disable functions used in networked + filesystems only. + * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish. * ftpfs.c: Check for existance of arpa/inet.h when using it. diff --git a/vfs/direntry.c b/vfs/direntry.c index 32e905c53..baf17734b 100644 --- a/vfs/direntry.c +++ b/vfs/direntry.c @@ -1104,6 +1104,7 @@ vfs_s_free (vfsid id) /* ----------- Utility functions for networked filesystems -------------- */ +#ifdef USE_NETCODE int vfs_s_select_on_two (int fd1, int fd2) { @@ -1186,3 +1187,4 @@ vfs_s_get_line_interruptible (vfs *me, char *buffer, int size, int fd) buffer [size-1] = 0; return 0; } +#endif /* USE_NETCODE */