Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumphijack remove fake closefrom()



details:   https://anonhg.NetBSD.org/src/rev/298002678d7d
branches:  trunk
changeset: 1023499:298002678d7d
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 11 14:22:12 2021 +0000

description:
remove fake closefrom()

diffstat:

 lib/librumphijack/hijack.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r f1a09f0e322e -r 298002678d7d lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Sat Sep 11 10:09:55 2021 +0000
+++ b/lib/librumphijack/hijack.c        Sat Sep 11 14:22:12 2021 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.134 2021/09/11 08:32:11 rillig Exp $     */
+/*      $NetBSD: hijack.c,v 1.135 2021/09/11 14:22:12 christos Exp $   */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -34,7 +34,7 @@
 #include <rump/rumpuser_port.h>
 
 #if !defined(lint)
-__RCSID("$NetBSD: hijack.c,v 1.134 2021/09/11 08:32:11 rillig Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.135 2021/09/11 14:22:12 christos Exp $");
 #endif
 
 #include <sys/param.h>
@@ -2854,8 +2854,3 @@
        return op_nfssvc(flags, argstructp);
 }
 #endif /* __NetBSD__ */
-
-int
-closefrom(int fd) {
-       return 0;
-}



Home | Main Index | Thread Index | Old Index