Source-Changes-HG archive

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

[src/trunk]: src/sys/arch rootpath is owned by libsa



details:   https://anonhg.NetBSD.org/src/rev/6fa8f43354a3
branches:  trunk
changeset: 1009414:6fa8f43354a3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Apr 23 00:09:26 2020 +0000

description:
rootpath is owned by libsa

diffstat:

 sys/arch/macppc/stand/ofwboot/net.c |  4 ++--
 sys/arch/sparc/stand/common/net.c   |  4 ++--
 sys/arch/sparc/stand/ofwboot/net.c  |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r e3ae7a03d807 -r 6fa8f43354a3 sys/arch/macppc/stand/ofwboot/net.c
--- a/sys/arch/macppc/stand/ofwboot/net.c       Thu Apr 23 00:03:40 2020 +0000
+++ b/sys/arch/macppc/stand/ofwboot/net.c       Thu Apr 23 00:09:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.8 2006/01/27 03:58:27 uwe Exp $      */
+/*     $NetBSD: net.c,v 1.9 2020/04/23 00:09:26 joerg Exp $    */
 
 /*
  * Copyright (C) 1995 Wolfgang Solfrank.
@@ -69,7 +69,7 @@
 #include "ofdev.h"
 #include "netif_of.h"
 
-char   rootpath[FNAME_SIZE];
+extern char    rootpath[FNAME_SIZE];
 
 static int netdev_sock = -1;
 static int open_count;
diff -r e3ae7a03d807 -r 6fa8f43354a3 sys/arch/sparc/stand/common/net.c
--- a/sys/arch/sparc/stand/common/net.c Thu Apr 23 00:03:40 2020 +0000
+++ b/sys/arch/sparc/stand/common/net.c Thu Apr 23 00:09:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.9 2009/10/21 23:12:09 snj Exp $      */
+/*     $NetBSD: net.c,v 1.10 2020/04/23 00:09:26 joerg Exp $   */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -60,7 +60,7 @@
 
 #include <sparc/stand/common/promdev.h>
 
-char           rootpath[FNAME_SIZE];
+extern char    rootpath[FNAME_SIZE];
 
 int    netdev_sock = -1;
 static int open_count;
diff -r e3ae7a03d807 -r 6fa8f43354a3 sys/arch/sparc/stand/ofwboot/net.c
--- a/sys/arch/sparc/stand/ofwboot/net.c        Thu Apr 23 00:03:40 2020 +0000
+++ b/sys/arch/sparc/stand/ofwboot/net.c        Thu Apr 23 00:09:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.8 2012/07/16 11:26:27 tsutsui Exp $  */
+/*     $NetBSD: net.c,v 1.9 2020/04/23 00:09:26 joerg Exp $    */
 
 /*
  * Copyright (C) 1995 Wolfgang Solfrank.
@@ -73,7 +73,7 @@
 static int net_mountroot_bootparams(void);
 static int net_mountroot_bootp(void);
 
-char   rootpath[FNAME_SIZE];
+extern char    rootpath[FNAME_SIZE];
 
 static int netdev_sock = -1;
 static int open_count;



Home | Main Index | Thread Index | Old Index