diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-15 04:28:31 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:38:05 +0200 |
commit | e8d9076a97f6617868466a99bd18e11e3f6389ac (patch) | |
tree | 530d2a1097ae4cdc33615387c2e0f2264f4f4644 /library.h | |
parent | 4572877d0dd0b5060f4498e705467eaef51c6459 (diff) | |
download | ltrace-e8d9076a97f6617868466a99bd18e11e3f6389ac.tar.gz |
library_symbol_init may fail
Diffstat (limited to 'library.h')
-rw-r--r-- | library.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -56,9 +56,9 @@ struct library_symbol { /* Init LIBSYM. NAME will be freed when LIBSYM is destroyed if * OWN_NAME. ARCH has to be initialized by a separate call. */ -void library_symbol_init(struct library_symbol *libsym, - target_address_t addr, const char *name, int own_name, - enum toplt type_of_plt); +int library_symbol_init(struct library_symbol *libsym, + target_address_t addr, const char *name, int own_name, + enum toplt type_of_plt); /* Copy library symbol SYM into the area pointed-to by RETP. Return 0 * on success or a negative value on failure. */ |