diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-08-12 23:39:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-08-12 23:39:31 +0000 |
commit | b12ec56f7e6a03f06d87d4adea43a45cf5691229 (patch) | |
tree | 277009d107f9f755e7a4c96d0c57080b7624094f /gas/doc/internals.texi | |
parent | fb55a3a07b0b555a4763df5adebf7775453681d6 (diff) | |
download | binutils-redhat-b12ec56f7e6a03f06d87d4adea43a45cf5691229.tar.gz |
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r-- | gas/doc/internals.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index e025e88d06..cfb9a93e63 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1921,23 +1921,23 @@ Creates the hash table control structure. Destroy a hash table. @end deftypefun -@deftypefun @{@} PTR hash_delete (struct hash_control *, const char *, int) +@deftypefun @{@} void *hash_delete (struct hash_control *, const char *, int) Deletes entry from the hash table, returns the value it had. If the last arg is non-zero, free memory allocated for this entry and all entries allocated more recently than this entry. @end deftypefun -@deftypefun @{@} PTR hash_replace (struct hash_control *, const char *, PTR) +@deftypefun @{@} void *hash_replace (struct hash_control *, const char *, void *) Updates the value for an entry already in the table, returning the old value. If no entry was found, just returns NULL. @end deftypefun -@deftypefun @{@} @{const char *@} hash_insert (struct hash_control *, const char *, PTR) +@deftypefun @{@} @{const char *@} hash_insert (struct hash_control *, const char *, void *) Inserting a value already in the table is an error. Returns an error message or NULL. @end deftypefun -@deftypefun @{@} @{const char *@} hash_jam (struct hash_control *, const char *, PTR) +@deftypefun @{@} @{const char *@} hash_jam (struct hash_control *, const char *, void *) Inserts if the value isn't already present, updates it if it is. @end deftypefun |