aboutsummaryrefslogtreecommitdiff
path: root/include/hashtab.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-11-03 20:53:04 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-11-03 20:53:04 +0000
commit6f7297887943b0f40f2043a525b8b52edab75e7a (patch)
tree6e0a7ed66e12fa7539928fec60d0919df8a7570c /include/hashtab.h
parent40a633d5cadf818182a0369e236f58b3c2ed60ae (diff)
downloadgdb-6f7297887943b0f40f2043a525b8b52edab75e7a.zip
gdb-6f7297887943b0f40f2043a525b8b52edab75e7a.tar.gz
gdb-6f7297887943b0f40f2043a525b8b52edab75e7a.tar.bz2
* hashtab.h: Change void * to PTR where necessary.
Diffstat (limited to 'include/hashtab.h')
-rw-r--r--include/hashtab.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/hashtab.h b/include/hashtab.h
index 12f830c..c110ac5 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -80,7 +80,7 @@ struct htab
htab_del del_f;
/* Table itself. */
- void **entries;
+ PTR *entries;
/* Current size (in entries) of the hash table */
size_t size;
@@ -112,12 +112,12 @@ extern htab_t htab_create PARAMS ((size_t, htab_hash,
extern void htab_delete PARAMS ((htab_t));
extern void htab_empty PARAMS ((htab_t));
-extern void *htab_find PARAMS ((htab_t, const void *));
-extern void **htab_find_slot PARAMS ((htab_t, const void *,
+extern PTR htab_find PARAMS ((htab_t, const void *));
+extern PTR *htab_find_slot PARAMS ((htab_t, const void *,
enum insert_option));
-extern void *htab_find_with_hash PARAMS ((htab_t, const void *,
+extern PTR htab_find_with_hash PARAMS ((htab_t, const void *,
hashval_t));
-extern void **htab_find_slot_with_hash PARAMS ((htab_t, const void *,
+extern PTR *htab_find_slot_with_hash PARAMS ((htab_t, const void *,
hashval_t,
enum insert_option));
extern void htab_clear_slot PARAMS ((htab_t, void **));