summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/alloc.c
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>2000-03-30 12:19:46 +0000
committeraugustss <augustss@NetBSD.org>2000-03-30 12:19:46 +0000
commit1279e67b6ec7a2d2f49319e7efeaf81ece26081e (patch)
tree1ab3e79bad93575eecf13d59c8fcfb822d7b1a87 /sys/lib/libsa/alloc.c
parent1469ed1614aea15cfcea3b9e0e79533bd9e7fc71 (diff)
Kill some more register declarations.
Diffstat (limited to 'sys/lib/libsa/alloc.c')
-rw-r--r--sys/lib/libsa/alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/alloc.c b/sys/lib/libsa/alloc.c
index 2bf58ef6c63..164a326a0d7 100644
--- a/sys/lib/libsa/alloc.c
+++ b/sys/lib/libsa/alloc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.c,v 1.14 1999/05/28 19:31:51 cgd Exp $ */
+/* $NetBSD: alloc.c,v 1.15 2000/03/30 12:19:47 augustss Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@@ -134,7 +134,7 @@ void *
alloc(size)
unsigned size;
{
- register struct fl **f = &freelist, **bestf = NULL;
+ struct fl **f = &freelist, **bestf = NULL;
#ifndef ALLOC_FIRST_FIT
unsigned bestsize = 0xffffffff; /* greater than any real size */
#endif
@@ -213,7 +213,7 @@ free(ptr, size)
void *ptr;
unsigned size; /* only for consistence check */
{
- register struct fl *f =
+ struct fl *f =
(struct fl *)((char*)ptr - ALIGN(sizeof(unsigned)));
#ifdef ALLOC_TRACE
printf("free(%lx, %u) (origsize %u)\n", (u_long)ptr, size, f->size);