Deleted Added
full compact
1c1
< /* $FreeBSD: head/sbin/rcorder/hash.c 173412 2007-11-07 10:53:41Z kevlo $ */
---
> /* $FreeBSD: head/sbin/rcorder/hash.c 201227 2009-12-29 22:53:27Z ed $ */
106,108c106,108
< Hash_InitTable(t, numBuckets)
< register Hash_Table *t; /* Structure to use to hold table. */
< int numBuckets; /* How many buckets to create for starters.
---
> Hash_InitTable(
> register Hash_Table *t, /* Structure to use to hold table. */
> int numBuckets) /* How many buckets to create for starters.
153,154c153
< Hash_DeleteTable(t)
< Hash_Table *t;
---
> Hash_DeleteTable(Hash_Table *t)
193,195c192,194
< Hash_FindEntry(t, key)
< Hash_Table *t; /* Hash table to search. */
< char *key; /* A hash key. */
---
> Hash_FindEntry(
> Hash_Table *t, /* Hash table to search. */
> char *key) /* A hash key. */
230,233c229,232
< Hash_CreateEntry(t, key, newPtr)
< register Hash_Table *t; /* Hash table to search. */
< char *key; /* A hash key. */
< Boolean *newPtr; /* Filled in with TRUE if new entry created,
---
> Hash_CreateEntry(
> register Hash_Table *t, /* Hash table to search. */
> char *key, /* A hash key. */
> Boolean *newPtr) /* Filled in with TRUE if new entry created,
297,299c296
< Hash_DeleteEntry(t, e)
< Hash_Table *t;
< Hash_Entry *e;
---
> Hash_DeleteEntry(Hash_Table *t, Hash_Entry *e)
338,340c335,337
< Hash_EnumFirst(t, searchPtr)
< Hash_Table *t; /* Table to be searched. */
< register Hash_Search *searchPtr;/* Area in which to keep state
---
> Hash_EnumFirst(
> Hash_Table *t, /* Table to be searched. */
> register Hash_Search *searchPtr)/* Area in which to keep state
368,369c365,366
< Hash_EnumNext(searchPtr)
< register Hash_Search *searchPtr; /* Area used to keep state about
---
> Hash_EnumNext(
> register Hash_Search *searchPtr) /* Area used to keep state about
414,415c411
< RebuildTable(t)
< register Hash_Table *t;
---
> RebuildTable(register Hash_Table *t)