From 5eef0d316731eccc3bed2f9fc13a4d06993dfdc5 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Wed, 2 Dec 2009 08:31:56 +0000 Subject: [PATCH] Declare global pointers as extern, otherwise they become common symbols. Fix mips build in lib/librumpnet. --- sys/rump/librump/rumpkern/rump_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/rump/librump/rumpkern/rump_private.h b/sys/rump/librump/rumpkern/rump_private.h index 06899e02aed7..9908727b6841 100644 --- a/sys/rump/librump/rumpkern/rump_private.h +++ b/sys/rump/librump/rumpkern/rump_private.h @@ -1,4 +1,4 @@ -/* $NetBSD: rump_private.h,v 1.37 2009/12/01 09:50:51 pooka Exp $ */ +/* $NetBSD: rump_private.h,v 1.38 2009/12/02 08:31:56 uebayasi Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -76,8 +76,8 @@ void rump_set_vmspace(struct vmspace *); typedef void (*rump_proc_vfs_init_fn)(struct proc *); typedef void (*rump_proc_vfs_release_fn)(struct proc *); -rump_proc_vfs_init_fn rump_proc_vfs_init; -rump_proc_vfs_release_fn rump_proc_vfs_release; +extern rump_proc_vfs_init_fn rump_proc_vfs_init; +extern rump_proc_vfs_release_fn rump_proc_vfs_release; extern struct cpu_info *rump_cpu;