modified to handle new initialization scheme.

fixed code structure.

From-SVN: r155
This commit is contained in:
Dennis Glatting 1992-01-03 02:55:03 +00:00
parent e6ee5154b7
commit ec04a5a3c9

View File

@ -16,10 +16,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.c,v 0.9 1991/12/03 02:01:23 dennisg Exp dennisg $
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/lib/RCS/hash.c,v 0.10 1991/12/10 12:05:28 dennisg Exp dennisg $
$Author: dennisg $
$Date: 1991/12/03 02:01:23 $
$Date: 1991/12/10 12:05:28 $
$Log: hash.c,v $
* Revision 0.10 1991/12/10 12:05:28 dennisg
* Cleaned up file format for a distribution.
*
* Revision 0.9 1991/12/03 02:01:23 dennisg
* fixed assert macro.
* added memory allocation adjustment macro for hash size allocation.
@ -67,8 +70,10 @@
#include <ObjC-private.h>
#include <assert.h>
#include <libc.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
/* These two macros determine
when a hash table is full and