Source-Changes-HG archive

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

[src/trunk]: src/sys sys/filedesc.h: New home for extern cwdi0.



details:   https://anonhg.NetBSD.org/src/rev/8c1b04f25c5c
branches:  trunk
changeset: 372076:8c1b04f25c5c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:39:10 2022 +0000

description:
sys/filedesc.h: New home for extern cwdi0.

diffstat:

 sys/dev/firmload.c                  |  5 ++---
 sys/kern/vfs_mount.c                |  5 ++---
 sys/rump/librump/rumpvfs/rump_vfs.c |  5 ++---
 sys/sys/filedesc.h                  |  4 +++-
 4 files changed, 9 insertions(+), 10 deletions(-)

diffs (96 lines):

diff -r b732999b00c3 -r 8c1b04f25c5c sys/dev/firmload.c
--- a/sys/dev/firmload.c        Wed Oct 26 23:38:57 2022 +0000
+++ b/sys/dev/firmload.c        Wed Oct 26 23:39:10 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: firmload.c,v 1.23 2021/06/29 22:40:53 dholland Exp $   */
+/*     $NetBSD: firmload.c,v 1.24 2022/10/26 23:39:10 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.23 2021/06/29 22:40:53 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: firmload.c,v 1.24 2022/10/26 23:39:10 riastradh Exp $");
 
 /*
  * The firmload API provides an interface for device drivers to access
@@ -209,7 +209,6 @@
        firmware_handle_t fh;
        struct vnode *vp;
        int error;
-       extern struct cwdinfo cwdi0;
 
        if (drvname == NULL || imgname == NULL)
                return (EINVAL);
diff -r b732999b00c3 -r 8c1b04f25c5c sys/kern/vfs_mount.c
--- a/sys/kern/vfs_mount.c      Wed Oct 26 23:38:57 2022 +0000
+++ b/sys/kern/vfs_mount.c      Wed Oct 26 23:39:10 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_mount.c,v 1.97 2022/09/13 09:35:31 riastradh Exp $ */
+/*     $NetBSD: vfs_mount.c,v 1.98 2022/10/26 23:39:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1997-2020 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.97 2022/09/13 09:35:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.98 2022/10/26 23:39:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -1273,7 +1273,6 @@
        if (error == 0) {
                mount_iterator_t *iter;
                struct mount *mp;
-               extern struct cwdinfo cwdi0;
 
                mountlist_iterator_init(&iter);
                mp = mountlist_iterator_next(iter);
diff -r b732999b00c3 -r 8c1b04f25c5c sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c       Wed Oct 26 23:38:57 2022 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c       Wed Oct 26 23:39:10 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_vfs.c,v 1.93 2020/04/25 15:42:15 bouyer Exp $     */
+/*     $NetBSD: rump_vfs.c,v 1.94 2022/10/26 23:39:10 riastradh Exp $  */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.93 2020/04/25 15:42:15 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.94 2022/10/26 23:39:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -57,7 +57,6 @@
 #include <rump/rump.h>
 #include <rump/rumpuser.h>
 
-extern struct cwdinfo cwdi0;
 const char *rootfstype = ROOT_FSTYPE_ANY;
 
 static void
diff -r b732999b00c3 -r 8c1b04f25c5c sys/sys/filedesc.h
--- a/sys/sys/filedesc.h        Wed Oct 26 23:38:57 2022 +0000
+++ b/sys/sys/filedesc.h        Wed Oct 26 23:39:10 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: filedesc.h,v 1.69 2021/06/29 22:40:53 dholland Exp $   */
+/*     $NetBSD: filedesc.h,v 1.70 2022/10/26 23:39:10 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -187,6 +187,8 @@
 struct socket;
 struct proc;
 
+extern struct cwdinfo cwdi0;
+
 /*
  * Kernel global variables and routines.
  */



Home | Main Index | Thread Index | Old Index