diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-06 03:23:27 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-06 03:23:27 +0000 |
commit | 8d24e54834bf52ae8dedb12eb8e3915e36f4115d (patch) | |
tree | e0250b97a908b1c147678728dd4baea6059d3377 /include/hashtab.h | |
parent | edfd56325c0cebed6917002643a57e86901819d7 (diff) | |
download | gcc-8d24e54834bf52ae8dedb12eb8e3915e36f4115d.tar.gz |
Index: include/ChangeLog
* hashtab.h (htab_create): Restore prototype for backward
compatibility.
(htab_try_create): Likewise.
Index: libiberty/ChangeLog
* hashtab.c (htab_create): New stub function for backward
compatibility.
(htab_try_create): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/hashtab.h')
-rw-r--r-- | include/hashtab.h | 6 |
1 files changed, 5 insertions, 1 deletions
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) |