diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/hashtab.h | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 75ce45ab276..7b1dc5a965a 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2002-06-05 Geoffrey Keating <geoffk@redhat.com> + + * hashtab.h (htab_create): Restore prototype for backward + compatibility. + (htab_try_create): Likewise. + 2002-05-22 Geoffrey Keating <geoffk@redhat.com> * hashtab.h (struct htab): Update for change to length specifier. diff --git a/include/hashtab.h b/include/hashtab.h index a3ae5ae37fa..4e5b4e7dccd 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -128,7 +128,11 @@ extern htab_t htab_create_alloc PARAMS ((size_t, htab_hash, htab_eq, htab_del, htab_alloc, htab_free)); -/* Provided for convenience... */ +/* Backward-compatibility functions. */ +extern htab_t htab_create PARAMS ((size_t, htab_hash, htab_eq, htab_del)); +extern htab_t htab_try_create PARAMS ((size_t, htab_hash, htab_eq, htab_del)); + +/* Provided for convenience. */ #define htab_create(SIZE, HASH, EQ, DEL) \ htab_create_alloc (SIZE, HASH, EQ, DEL, xcalloc, free) |