diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-05 02:10:10 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:36:35 +0200 |
commit | ecb082f480f057dc166c9d62e8776c892caf5e11 (patch) | |
tree | 90a78bf9a5a385f1b0fb05e0a3005281244acf19 /library.h | |
parent | 807cdd874087db852e3b67f2b9100d3eb1cab366 (diff) | |
download | ltrace-ecb082f480f057dc166c9d62e8776c892caf5e11.tar.gz |
Address hashing and comparison functions need to work with target_address_t
- ... not int, which is narrower than target_address_t on 64-bit machines
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,10 @@ enum toplt { * So keep with it, for now. */ typedef void *target_address_t; +/* Dict interface. */ +unsigned int target_address_hash(const void *key); +int target_address_cmp(const void *key1, const void *key2); + struct library_symbol { struct library_symbol *next; struct library *lib; |