diff options
author | Alan Modra <amodra@gmail.com> | 2008-08-12 23:39:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-08-12 23:39:31 +0000 |
commit | 5a49b8acf456d4a049c002fae31b83a10b35e6f8 (patch) | |
tree | c55c2f40551c32d774a8dfd9c61b5ba503dc954a /gas/doc | |
parent | 11fa8e431388f2e50d86cd4af26b748eba56b10e (diff) | |
download | gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.zip gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.gz gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.bz2 |
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/doc')
-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 e025e88..cfb9a93 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 |