diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-04-11 19:26:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-11 19:26:47 +0000 |
commit | 1ad8fb62d65b985310f916d681bde83e1b8055f0 (patch) | |
tree | e229e0e5a45f5a65e3b3d5add43ec22340ac5b4a /libihash | |
parent | 6970674805d79449efc7116d358f22c5ff8051fe (diff) |
(ihash_add): New name of nextprime.
Diffstat (limited to 'libihash')
-rw-r--r-- | libihash/ihash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libihash/ihash.c b/libihash/ihash.c index 43be0550..90dd12f3 100644 --- a/libihash/ihash.c +++ b/libihash/ihash.c @@ -1,6 +1,6 @@ /* Integer-keyed hash table functions. - Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -172,7 +172,7 @@ ihash_add(ihash_t ht, int id, void *item, void ***locp) void ****old_locps = ht->locps; int *old_ids = ht->ids; - ht->size = nextprime (2 * old_size); + ht->size = _ihash_nextprime (2 * old_size); ht->tab = malloc(ht->size * sizeof (void *)); ht->locps = malloc (ht->size * sizeof (void ***)); ht->ids = malloc (ht->size * sizeof (int)); |