diff options
author | Miles Bader <miles@gnu.org> | 1997-06-20 04:56:28 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-06-20 04:56:28 +0000 |
commit | eafa89a87343d36fcc8b9e87f64d15e3cd07c7e2 (patch) | |
tree | 4879097a0babcf90eab629e5036f9af290417ddc | |
parent | b642052340bd2d7440f22a73b46d2778c8f6c191 (diff) |
(ihash_create):
Initialize CLEANUP & CLEANUP_ARG fields.
-rw-r--r-- | libihash/ihash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libihash/ihash.c b/libihash/ihash.c index 8454cdfb..635a90c2 100644 --- a/libihash/ihash.c +++ b/libihash/ihash.c @@ -1,6 +1,6 @@ /* Integer-keyed hash table functions. - Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -85,6 +85,8 @@ ihash_create(ihash_t *ht) if (*ht == NULL) return ENOMEM; (*ht)->size = 0; + (*ht)->cleanup = 0; + (*ht)->cleanup_arg = 0; return 0; } |