Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa bestsize is unused if ALLOC_FIRST_FIT is defined.
details: https://anonhg.NetBSD.org/src/rev/618b8e896c00
branches: trunk
changeset: 467971:618b8e896c00
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Apr 01 02:41:08 1999 +0000
description:
bestsize is unused if ALLOC_FIRST_FIT is defined.
diffstat:
sys/lib/libsa/alloc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 0c0296ba4e8d -r 618b8e896c00 sys/lib/libsa/alloc.c
--- a/sys/lib/libsa/alloc.c Thu Apr 01 00:37:50 1999 +0000
+++ b/sys/lib/libsa/alloc.c Thu Apr 01 02:41:08 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.c,v 1.11 1997/09/17 16:24:00 drochner Exp $ */
+/* $NetBSD: alloc.c,v 1.12 1999/04/01 02:41:08 simonb Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@@ -135,7 +135,9 @@
unsigned size;
{
register struct fl **f = &freelist, **bestf = NULL;
+#ifndef ALLOC_FIRST_FIT
unsigned bestsize = 0xffffffff; /* greater than any real size */
+#endif
char *help;
int failed;
Home |
Main Index |
Thread Index |
Old Index