Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa don't bother initializing 'freelist' -- it can...
details: https://anonhg.NetBSD.org/src/rev/10e05e649828
branches: trunk
changeset: 473304:10e05e649828
user: cgd <cgd%NetBSD.org@localhost>
date: Fri May 28 19:31:51 1999 +0000
description:
don't bother initializing 'freelist' -- it can be bss
diffstat:
sys/lib/libsa/alloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fffc7dd30409 -r 10e05e649828 sys/lib/libsa/alloc.c
--- a/sys/lib/libsa/alloc.c Fri May 28 18:56:57 1999 +0000
+++ b/sys/lib/libsa/alloc.c Fri May 28 19:31:51 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.c,v 1.13 1999/04/11 04:02:37 simonb Exp $ */
+/* $NetBSD: alloc.c,v 1.14 1999/05/28 19:31:51 cgd Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@@ -110,7 +110,7 @@
struct fl {
unsigned size;
struct fl *next;
-} *freelist = (struct fl *)0;
+} *freelist;
#ifdef HEAP_VARIABLE
static char *top, *heapstart, *heaplimit;
Home |
Main Index |
Thread Index |
Old Index