Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpvfs don't define multiple cwdi0's, mark...



details:   https://anonhg.NetBSD.org/src/rev/338c380eeb5b
branches:  trunk
changeset: 766928:338c380eeb5b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 04 11:31:37 2011 +0000

description:
don't define multiple cwdi0's, mark this one as extern.

fixes various mips build issues i've seen with both GCC 4.1 and 4.5.

diffstat:

 sys/rump/librump/rumpvfs/rump_vfs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b69eaa569eee -r 338c380eeb5b sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c       Mon Jul 04 11:22:39 2011 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c       Mon Jul 04 11:31:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_vfs.c,v 1.66 2011/06/12 03:35:59 rmind Exp $      */
+/*     $NetBSD: rump_vfs.c,v 1.67 2011/07/04 11:31:37 mrg 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.66 2011/06/12 03:35:59 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.67 2011/07/04 11:31:37 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -56,7 +56,7 @@
 #include "rump_private.h"
 #include "rump_vfs_private.h"
 
-struct cwdinfo cwdi0;
+extern struct cwdinfo cwdi0;
 const char *rootfstype = ROOT_FSTYPE_ANY;
 
 static void



Home | Main Index | Thread Index | Old Index