diff options
-rw-r--r-- | build-id.c | 2 | ||||
-rw-r--r-- | build-id.h | 2 | ||||
-rw-r--r-- | so-test.c | 3 | ||||
-rw-r--r-- | test.c | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -80,7 +80,7 @@ build_id_find_nhdr_callback(struct dl_phdr_info *info, size_t size, void *data_) } const struct build_id_note * -build_id_find_nhdr(const char *name) +build_id_find_nhdr_by_name(const char *name) { struct callback_data data = { .name = name, @@ -28,7 +28,7 @@ struct build_id_note; const struct build_id_note * -build_id_find_nhdr(const char *name); +build_id_find_nhdr_by_name(const char *name); ElfW(Word) build_id_length(const struct build_id_note *note); @@ -30,7 +30,8 @@ int main(int argc, char *argv[]) { - const struct build_id_note *note = build_id_find_nhdr("./libbuild-id.so"); + const struct build_id_note *note = + build_id_find_nhdr_by_name("./libbuild-id.so"); if (!note) return -1; @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { - const struct build_id_note *note = build_id_find_nhdr(""); + const struct build_id_note *note = build_id_find_nhdr_by_name(""); if (!note) return -1; |