From 04db20c2fb450fc27300991eb029888487b580a0 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 19 Oct 2011 23:34:40 +0200 Subject: 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. --- nfs/ops.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'nfs/ops.c') 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 - . */ -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 . */ error_t -- cgit v1.2.3