util/build-id: Return a pointer rather than copying the data
[mesa.git] / src / util / build_id.h
index 39bf9b016fdeaa050b57ec230a267669830e2693..551ac6989bc061edfe615e1b4a3158648f6799b5 100644 (file)
@@ -31,8 +31,7 @@ build_id_find_nhdr(const char *filename);
 unsigned
 build_id_length(const struct build_id_note *note);
 
-void
-build_id_read(const struct build_id_note *note,
-              unsigned char *build_id, size_t n);
+const uint8_t *
+build_id_data(const struct build_id_note *note);
 
 #endif