aboutsummaryrefslogtreecommitdiff
path: root/include/hashtab.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-10 09:49:43 +0930
committerAlan Modra <amodra@gmail.com>2022-05-10 11:21:37 +0930
commitc2dae75149ba2946111608205e0e1ccf8b028991 (patch)
tree1c10520d695344eac00a18a35834e67ff481cb54 /include/hashtab.h
parent9abf92d2294cb8187b596505144c49d88c81c8b2 (diff)
downloadgdb-c2dae75149ba2946111608205e0e1ccf8b028991.zip
gdb-c2dae75149ba2946111608205e0e1ccf8b028991.tar.gz
gdb-c2dae75149ba2946111608205e0e1ccf8b028991.tar.bz2
include: remove use of PTR
* hashtab.h (HTAB_EMPTY_ENTRY): Replace PTR with void *. (HTAB_DELETED_ENTRY): Likewise.
Diffstat (limited to 'include/hashtab.h')
-rw-r--r--include/hashtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hashtab.h b/include/hashtab.h
index 7117eee..e74d222 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -79,12 +79,12 @@ typedef void (*htab_free_with_arg) (void *, void *);
/* This macro defines reserved value for empty table entry. */
-#define HTAB_EMPTY_ENTRY ((PTR) 0)
+#define HTAB_EMPTY_ENTRY ((void *) 0)
/* This macro defines reserved value for table entry which contained
a deleted element. */
-#define HTAB_DELETED_ENTRY ((PTR) 1)
+#define HTAB_DELETED_ENTRY ((void *) 1)
/* Hash tables are of the following type. The structure
(implementation) of this type is not needed for using the hash