diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-13 21:26:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-13 21:26:15 +0000 |
commit | b17ac281f1f785e6f15e63c2942f514db65a1b5f (patch) | |
tree | 604e2fc696dfbf1861d92cd7204136dfef376193 /libtrivfs/io-duplicate.c | |
parent | 3039afb4e3bd3b0e140699e98824f366ac5e47af (diff) |
2002-06-13 Roland McGrath <roland@frob.com>
* dir-chg.c: Don't include stub header, trivfs.h now gets those decls.
* dir-link.c: Likewise.
* dir-lookup.c: Likewise.
* dir-mkdir.c: Likewise.
* dir-mkfile.c: Likewise.
* dir-readdir.c: Likewise.
* dir-rename.c: Likewise.
* dir-rmdir.c: Likewise.
* dir-unlink.c: Likewise.
* file-access.c: Likewise.
* file-chauthor.c: Likewise.
* file-chflags.c: Likewise.
* file-chg.c: Likewise.
* file-chmod.c: Likewise.
* file-chown.c: Likewise.
* file-get-fs-options.c: Likewise.
* file-get-storage-info.c: Likewise.
* file-get-trans.c: Likewise.
* file-get-transcntl.c: Likewise.
* file-getcontrol.c: Likewise.
* file-getfh.c: Likewise.
* file-getlinknode.c: Likewise.
* file-lock.c: Likewise.
* file-reparent.c: Likewise.
* file-set-size.c: Likewise.
* file-set-trans.c: Likewise.
* file-statfs.c: Likewise.
* file-sync.c: Likewise.
* file-syncfs.c: Likewise.
* file-utimes.c: Likewise.
* fsys-forward.c: Likewise.
* fsys-get-options.c: Likewise.
* fsys-getroot.c: Likewise.
* fsys-goaway.c: Likewise.
* fsys-set-options.c: Likewise.
* fsys-stubs.c: Likewise.
* fsys-syncfs.c: Likewise.
* io-async-icky.c: Likewise.
* io-async.c: Likewise.
* io-duplicate.c: Likewise.
* io-identity.c: Likewise.
* io-map.c: Likewise.
* io-modes-get.c: Likewise.
* io-modes-off.c: Likewise.
* io-modes-on.c: Likewise.
* io-owner-get.c: Likewise.
* io-owner-mod.c: Likewise.
* io-pathconf.c: Likewise.
* io-read.c: Likewise.
* io-readable.c: Likewise.
* io-reauthenticate.c: Likewise.
* io-restrict-auth.c: Likewise.
* io-revoke.c: Likewise.
* io-seek.c: Likewise.
* io-select.c: Likewise.
* io-stat.c: Likewise.
* io-stubs.c: Likewise.
* io-write.c: Likewise.
Diffstat (limited to 'libtrivfs/io-duplicate.c')
-rw-r--r-- | libtrivfs/io-duplicate.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libtrivfs/io-duplicate.c b/libtrivfs/io-duplicate.c index 4b20bb99..c1b7798d 100644 --- a/libtrivfs/io-duplicate.c +++ b/libtrivfs/io-duplicate.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994, 1995 Free Software Foundation + Copyright (C) 1993,94,95,2002 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -20,7 +20,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" -#include "io_S.h" #include <string.h> kern_return_t @@ -32,10 +31,10 @@ trivfs_S_io_duplicate (struct trivfs_protid *cred, { error_t err; struct trivfs_protid *newcred; - + if (!cred) return EOPNOTSUPP; - + err = trivfs_protid_dup (cred, &newcred); if (!err) { @@ -46,4 +45,3 @@ trivfs_S_io_duplicate (struct trivfs_protid *cred, return err; } - |