diff options
author | marcus <marcus> | 2003-08-17 05:47:32 +0000 |
---|---|---|
committer | marcus <marcus> | 2003-08-17 05:47:32 +0000 |
commit | 0770412600d7e853fef292da80d7ad959e0ba895 (patch) | |
tree | d1f489526964cdde4c2d9d724662d50aad3f053e /libhurd-ihash | |
parent | dcf5b043c9e3cc8a0c9ae583d7d26fa2b561169e (diff) |
2003-08-17 Marcus Brinkmann <marcus@gnu.org>
* ihash.h (HURD_IHASH_INITIALIZER): New macro.
Diffstat (limited to 'libhurd-ihash')
-rw-r--r-- | libhurd-ihash/ChangeLog | 2 | ||||
-rw-r--r-- | libhurd-ihash/ihash.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libhurd-ihash/ChangeLog b/libhurd-ihash/ChangeLog index 59d4857..52ee1b8 100644 --- a/libhurd-ihash/ChangeLog +++ b/libhurd-ihash/ChangeLog @@ -1,5 +1,7 @@ 2003-08-17 Marcus Brinkmann <marcus@gnu.org> + * ihash.h (HURD_IHASH_INITIALIZER): New macro. + * Initial check-in. diff --git a/libhurd-ihash/ihash.h b/libhurd-ihash/ihash.h index d2cbcd0..7915ad7 100644 --- a/libhurd-ihash/ihash.h +++ b/libhurd-ihash/ihash.h @@ -79,6 +79,9 @@ typedef struct hurd_ihash *hurd_ihash_t; /* Construction and destruction of hash tables. */ +#define HURD_IHASH_INITIALIZER \ + { .size = 0, .cleanup = (hurd_ihash_cleanup_t) 0 } + /* Initialize the hash table at address HT. */ void hurd_ihash_init (hurd_ihash_t ht); |