Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Declare global pointers as extern, ...



details:   https://anonhg.NetBSD.org/src/rev/1a6a514e0687
branches:  trunk
changeset: 749541:1a6a514e0687
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Wed Dec 02 08:31:56 2009 +0000

description:
Declare global pointers as extern, otherwise they become common symbols.
Fix mips build in lib/librumpnet.

diffstat:

 sys/rump/librump/rumpkern/rump_private.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 66f9696dc4e3 -r 1a6a514e0687 sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h  Wed Dec 02 07:55:53 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h  Wed Dec 02 08:31:56 2009 +0000
@@ -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 @@
 
 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;
 



Home | Main Index | Thread Index | Old Index