Module Name: src
Committed By: mrg
Date: Mon Jul 4 11:31:37 UTC 2011
Modified Files:
src/sys/rump/librump/rumpvfs: rump_vfs.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/rump/librump/rumpvfs/rump_vfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpvfs/rump_vfs.c
diff -u src/sys/rump/librump/rumpvfs/rump_vfs.c:1.66 src/sys/rump/librump/rumpvfs/rump_vfs.c:1.67
--- src/sys/rump/librump/rumpvfs/rump_vfs.c:1.66 Sun Jun 12 03:35:59 2011
+++ src/sys/rump/librump/rumpvfs/rump_vfs.c Mon Jul 4 11:31:37 2011
@@ -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