Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Remove private declarations of maxdmap ...



details:   https://anonhg.NetBSD.org/src/rev/88bb6c986e49
branches:  trunk
changeset: 565340:88bb6c986e49
user:      pk <pk%NetBSD.org@localhost>
date:      Sun Apr 04 18:24:22 2004 +0000

description:
Remove private declarations of maxdmap and maxsmap.

diffstat:

 sys/arch/sparc/sparc/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r ac9db9d22863 -r 88bb6c986e49 sys/arch/sparc/sparc/machdep.c
--- a/sys/arch/sparc/sparc/machdep.c    Sun Apr 04 18:22:44 2004 +0000
+++ b/sys/arch/sparc/sparc/machdep.c    Sun Apr 04 18:24:22 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.246 2004/04/03 12:38:14 pk Exp $ */
+/*     $NetBSD: machdep.c,v 1.247 2004/04/04 18:24:22 pk Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.246 2004/04/03 12:38:14 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.247 2004/04/04 18:24:22 pk Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_sunos.h"
@@ -277,10 +277,10 @@
 
                /* Clip max data & stack to avoid running into the MMU hole */
 #if MAXDSIZ > 256*1024*1024
-               { extern rlim_t maxdmap; maxdmap = 256*1024*1024; }
+               maxdmap = 256*1024*1024;
 #endif
 #if MAXSSIZ > 256*1024*1024
-               { extern rlim_t maxsmap; maxsmap = 256*1024*1024; }
+               maxsmap = 256*1024*1024;
 #endif
        }
 



Home | Main Index | Thread Index | Old Index