diff options
author | Matt Turner <mattst88@gmail.com> | 2017-11-24 22:09:41 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2017-11-24 23:33:06 -0800 |
commit | e0ea9bb5be34c464c67a1212e8924d0a38696d67 (patch) | |
tree | 394fcb24a80c7e29d9ba1985e0214bc07395c58e /build-id.c | |
parent | eac19cb55396588704adac6f325c083a646879b7 (diff) |
Change API to match upstream Mesa
Diffstat (limited to 'build-id.c')
-rw-r--r-- | build-id.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |