Declare global pointers as extern, otherwise they become common symbols.

Fix mips build in lib/librumpnet.
This commit is contained in:
uebayasi 2009-12-02 08:31:56 +00:00
parent 8a6ed6746c
commit 5eef0d3167
1 changed files with 3 additions and 3 deletions

View File

@ -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;