/[hurd]/hurd/libihash/ihash.c
ViewVC logotype

Diff of /hurd/libihash/ihash.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by marco_g, Fri Apr 2 17:01:03 2004 UTC revision 1.9.2.1 by ams, Thu Aug 25 18:40:48 2005 UTC
# Line 1  Line 1 
1  /* ihash.c - Integer-keyed hash table functions.  /* ihash.c - Integer-keyed hash table functions.
2     Copyright (C) 1993-1997, 2001, 2003, 2004 Free Software Foundation, Inc.     Copyright (C) 1993-1997, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
3     Written by Michael I. Bushnell.     Written by Michael I. Bushnell.
4     Revised by Miles Bader <miles@gnu.org>.     Revised by Miles Bader <miles@gnu.org>.
5     Revised by Marcus Brinkmann <marcus@gnu.org>.     Revised by Marcus Brinkmann <marcus@gnu.org>.
# Line 329  add_one (hurd_ihash_t ht, hurd_ihash_key Line 329  add_one (hurd_ihash_t ht, hurd_ihash_key
329        ht->items[first_free].key = key;        ht->items[first_free].key = key;
330    
331        if (ht->locp_offset != HURD_IHASH_NO_LOCP)        if (ht->locp_offset != HURD_IHASH_NO_LOCP)
332          *((hurd_ihash_locp_t) (((char *) value) + ht->locp_offset))          *((hurd_ihash_locp_t *) (((char *) value) + ht->locp_offset))
333            = &ht->items[first_free].value;            = &ht->items[first_free].value;
334    
335        return 1;        return 1;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26