Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 remove duplicated prototypes and dated X...



details:   https://anonhg.NetBSD.org/src/rev/1e256a353d48
branches:  trunk
changeset: 446942:1e256a353d48
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Dec 26 08:01:40 2018 +0000

description:
remove duplicated prototypes and dated XXX comments.

diffstat:

 sys/compat/netbsd32/netbsd32_compat_50.c |   6 +++---
 sys/compat/netbsd32/netbsd32_fs.c        |  13 ++++---------
 sys/compat/netbsd32/netbsd32_mod.c       |   6 +++---
 3 files changed, 10 insertions(+), 15 deletions(-)

diffs (102 lines):

diff -r bd7ec15664d4 -r 1e256a353d48 sys/compat/netbsd32/netbsd32_compat_50.c
--- a/sys/compat/netbsd32/netbsd32_compat_50.c  Wed Dec 26 06:45:58 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_50.c  Wed Dec 26 08:01:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_50.c,v 1.32 2015/12/03 10:38:21 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_compat_50.c,v 1.33 2018/12/26 08:01:40 mrg Exp $      */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.32 2015/12/03 10:38:21 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.33 2018/12/26 08:01:40 mrg Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -504,7 +504,7 @@
            compat_50_netbsd32_sigtimedwait_fetch_timeout,
            compat_50_netbsd32_sigtimedwait_put_timeout);
        if (!res)
-               *retval = 0; /* XXX NetBSD<=5 was not POSIX compliant */
+               *retval = 0; /* NetBSD<=5 was not POSIX compliant */
        return res;
 }
 
diff -r bd7ec15664d4 -r 1e256a353d48 sys/compat/netbsd32/netbsd32_fs.c
--- a/sys/compat/netbsd32/netbsd32_fs.c Wed Dec 26 06:45:58 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_fs.c Wed Dec 26 08:01:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_fs.c,v 1.81 2018/08/11 03:41:06 mrg Exp $     */
+/*     $NetBSD: netbsd32_fs.c,v 1.82 2018/12/26 08:01:40 mrg Exp $     */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.81 2018/08/11 03:41:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.82 2018/12/26 08:01:40 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -727,11 +727,6 @@
  * Use vfs vnode-to-name reverse cache; if that fails, fall back
  * to reading directory contents.
  */
-/* XXX NH Why does this exist */
-int
-getcwd_common(struct vnode *, struct vnode *,
-                  char **, char *, int, int, struct lwp *);
-
 int
 netbsd32___getcwd(struct lwp *l, const struct netbsd32___getcwd_args *uap, register_t *retval)
 {
@@ -1258,7 +1253,7 @@
                syscallarg(netbsd32_timespecp_t) tptr;
                syscallarg(int) flag;
        } */
-       struct timespec ts[2], *tsp = NULL /* XXXgcc */;
+       struct timespec ts[2], *tsp;
        int follow;
        int error;
 
@@ -1356,7 +1351,7 @@
                syscallarg(int) fd;
                syscallarg(netbsd32_timespecp_t) tptr;
        } */
-       struct timespec ts[2], *tsp = NULL /* XXXgcc */;
+       struct timespec ts[2], *tsp;
        file_t *fp;
        int error;
 
diff -r bd7ec15664d4 -r 1e256a353d48 sys/compat/netbsd32/netbsd32_mod.c
--- a/sys/compat/netbsd32/netbsd32_mod.c        Wed Dec 26 06:45:58 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_mod.c        Wed Dec 26 08:01:40 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_mod.c,v 1.13 2015/12/03 02:51:01 pgoyette Exp $       */
+/*     $NetBSD: netbsd32_mod.c,v 1.14 2018/12/26 08:01:40 mrg Exp $    */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.13 2015/12/03 02:51:01 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.14 2018/12/26 08:01:40 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_execfmt.h"
@@ -91,7 +91,7 @@
                .es_copyargs = netbsd32_elf32_copyargs,
                .es_setregs = NULL,
                .es_coredump = coredump_elf32,
-               .es_setup_stack = exec_setup_stack,     /* XXX XXX XXX */
+               .es_setup_stack = exec_setup_stack,
        },
 #endif
 };



Home | Main Index | Thread Index | Old Index