summaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-06-25 22:22:12 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit2cdae45b59ef73f7128e123fa24de24941de8f26 (patch)
treedf375fecdfd4135c20f309a6bc59626e07ef126e /output.c
parent0d0ef961855b7aefa4529c49d05e1785c968131f (diff)
downloadltrace-2cdae45b59ef73f7128e123fa24de24941de8f26.tar.gz
ltrace-2cdae45b59ef73f7128e123fa24de24941de8f26.tar.bz2
ltrace-2cdae45b59ef73f7128e123fa24de24941de8f26.zip
library_exported_names_each_alias(), library_exported_names_each() now restartable
These function now takes a *start_after, and return a pointer to the first failing key, like the other ltrace iterators
Diffstat (limited to 'output.c')
-rw-r--r--output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output.c b/output.c
index 2128816..b63befe 100644
--- a/output.c
+++ b/output.c
@@ -267,7 +267,7 @@ library_get_prototype(struct library *lib, const char *name)
struct lookup_prototype_alias_context context = {.lib = lib,
.result = NULL};
library_exported_names_each_alias(&lib->exported_names, name,
- lookup_prototype_alias_cb,
+ NULL, lookup_prototype_alias_cb,
&context);
// if found, the prototype is stored here, otherwise it's NULL