* direntry.c [!USE_NETCODE]: Disable functions used in networked

filesystems only.
This commit is contained in:
Pavel Roskin 2002-09-06 01:34:12 +00:00
parent ff8cf87949
commit 04c7da6358
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2002-09-05 Pavel Roskin <proski@gnu.org>
* 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.

View File

@ -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 */