Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa The "found" label is not used if ALLOC_FIRST_F...



details:   https://anonhg.NetBSD.org/src/rev/55f0de2b158c
branches:  trunk
changeset: 471773:55f0de2b158c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Apr 11 04:02:37 1999 +0000

description:
The "found" label is not used 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 7a9a6eefdf1e -r 55f0de2b158c sys/lib/libsa/alloc.c
--- a/sys/lib/libsa/alloc.c     Sun Apr 11 03:38:51 1999 +0000
+++ b/sys/lib/libsa/alloc.c     Sun Apr 11 04:02:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: alloc.c,v 1.12 1999/04/01 02:41:08 simonb Exp $        */
+/*     $NetBSD: alloc.c,v 1.13 1999/04/11 04:02:37 simonb Exp $        */
 
 /*
  * Copyright (c) 1997 Christopher G. Demetriou.  All rights reserved.
@@ -195,7 +195,9 @@
        /* we take the best fit */
        f = bestf;
 
+#ifndef ALLOC_FIRST_FIT
 found:
+#endif
         /* remove from freelist */
         help = (char*)*f;
        *f = (*f)->next;



Home | Main Index | Thread Index | Old Index