Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cesfic/cesfic build fix for gcc -fno-common, from R...



details:   https://anonhg.NetBSD.org/src/rev/425ef8f23e6b
branches:  trunk
changeset: 780827:425ef8f23e6b
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Aug 08 16:29:50 2012 +0000

description:
build fix for gcc -fno-common, from Radoslaw Kujawa

diffstat:

 sys/arch/cesfic/cesfic/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b1bf03cd32f4 -r 425ef8f23e6b sys/arch/cesfic/cesfic/machdep.c
--- a/sys/arch/cesfic/cesfic/machdep.c  Wed Aug 08 16:23:31 2012 +0000
+++ b/sys/arch/cesfic/cesfic/machdep.c  Wed Aug 08 16:29:50 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.63 2012/07/27 05:36:10 matt Exp $        */
+/*     $NetBSD: machdep.c,v 1.64 2012/08/08 16:29:50 drochner Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.63 2012/07/27 05:36:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.64 2012/08/08 16:29:50 drochner Exp $");
 
 #include "opt_bufcache.h"
 #include "opt_ddb.h"
@@ -119,7 +119,7 @@
  * Declare these as initialized data so we can patch them.
  */
 /*int  maxmem;*/                       /* max memory per process */
-int    physmem = MAXMEM;       /* max supported memory, changes to actual */
+extern int physmem;                    /* max supported memory, changes to actual */
 
 extern u_int lowram;
 



Home | Main Index | Thread Index | Old Index