summaryrefslogtreecommitdiff
path: root/build-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'build-id.c')
-rw-r--r--build-id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-id.c b/build-id.c
index b81fbef..05ff5e5 100644
--- a/build-id.c
+++ b/build-id.c
@@ -100,8 +100,8 @@ build_id_length(const struct note *note)
return note->nhdr.n_descsz;
}
-void
-build_id_read(const struct note *note, unsigned char *build_id)
+const uint8_t *
+build_id_data(const struct note *note)
{
- memcpy(build_id, note->build_id, note->nhdr.n_descsz);
+ return note->build_id;
}