summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2011-10-19 23:34:40 +0200
committerThomas Schwinge <thomas@schwinge.name>2011-10-19 23:47:55 +0200
commit04db20c2fb450fc27300991eb029888487b580a0 (patch)
tree0d9126da2ebc734a2e4ed3dffd6874e035b2c72f /nfs
parent4dc52dc880a22a70b8a7a1090fb3c12158ab2528 (diff)
Fix building of nfs.static.
* nfs/Makefile (HURDLIBS): Add ihash (for ports). * nfs/ops.c (netfs_set_translator): Don't define. It is the EOPNOTSUPP stub that is already being defined in libnetfs/set-get-trans.c.
Diffstat (limited to 'nfs')
-rw-r--r--nfs/Makefile6
-rw-r--r--nfs/ops.c13
2 files changed, 4 insertions, 15 deletions
diff --git a/nfs/Makefile b/nfs/Makefile
index d6b8c9c0..10ca2587 100644
--- a/nfs/Makefile
+++ b/nfs/Makefile
@@ -1,6 +1,6 @@
#
-# Copyright (C) 1995, 1996, 1997, 2000, 2001, 2008 Free Software Foundation,
-# Inc.
+# Copyright (C) 1995, 1996, 1997, 2000, 2001, 2008, 2011 Free Software
+# Foundation, Inc.
#
# Written by Michael I. Bushnell.
#
@@ -28,6 +28,6 @@ LCLHDRS = nfs.h mount.h nfs-spec.h
SRCS = ops.c rpc.c mount.c nfs.c cache.c consts.c main.c name-cache.c \
storage-info.c
OBJS = $(SRCS:.c=.o)
-HURDLIBS = netfs fshelp iohelp threads ports shouldbeinlibc
+HURDLIBS = netfs fshelp iohelp threads ports ihash shouldbeinlibc
include ../Makeconf
diff --git a/nfs/ops.c b/nfs/ops.c
index 96190d2e..05cfbe9a 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -1,5 +1,5 @@
/* ops.c - Libnetfs callbacks for node operations in NFS client.
- Copyright (C) 1994,95,96,97,99,2002 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,99,2002,2011 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -1881,17 +1881,6 @@ netfs_get_dirents (struct iouser *cred, struct node *np,
}
-/* Implement the netfs_set_translator callback as described in
- <hurd/netfs.h>. */
-error_t
-netfs_set_translator (struct iouser *cred,
- struct node *np,
- char *argz,
- size_t argzlen)
-{
- return EOPNOTSUPP;
-}
-
/* Implement the netfs_attempt_mksymlink callback as described in
<hurd/netfs.h>. */
error_t