Commit ec04a5a3 by Dennis Glatting

modified to handle new initialization scheme.

fixed code structure.

From-SVN: r155
parent e6ee5154
...@@ -16,10 +16,13 @@ ...@@ -16,10 +16,13 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 $ $Author: dennisg $
$Date: 1991/12/03 02:01:23 $ $Date: 1991/12/10 12:05:28 $
$Log: hash.c,v $ $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 * Revision 0.9 1991/12/03 02:01:23 dennisg
* fixed assert macro. * fixed assert macro.
* added memory allocation adjustment macro for hash size allocation. * added memory allocation adjustment macro for hash size allocation.
...@@ -67,8 +70,10 @@ ...@@ -67,8 +70,10 @@
#include <ObjC-private.h> #include <ObjC-private.h>
#include <assert.h> #include <assert.h>
#include <libc.h>
#include <math.h> #include <math.h>
#include <stdio.h>
#include <stdlib.h>
/* These two macros determine /* These two macros determine
when a hash table is full and when a hash table is full and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment