aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-15 04:28:31 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:38:05 +0200
commite8d9076a97f6617868466a99bd18e11e3f6389ac (patch)
tree530d2a1097ae4cdc33615387c2e0f2264f4f4644 /library.h
parent4572877d0dd0b5060f4498e705467eaef51c6459 (diff)
downloadltrace-e8d9076a97f6617868466a99bd18e11e3f6389ac.tar.gz
library_symbol_init may fail
Diffstat (limited to 'library.h')
-rw-r--r--library.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library.h b/library.h
index ae92386..bf7f189 100644
--- a/library.h
+++ b/library.h
@@ -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. */