Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / util / build_id.h
index 39bf9b016fdeaa050b57ec230a267669830e2693..1872ca5c7e5a9c67115ada719ef278fce8e30305 100644 (file)
  * IN THE SOFTWARE.
  */
 
+#ifndef BUILD_ID_H
+#define BUILD_ID_H
+
 #ifdef HAVE_DL_ITERATE_PHDR
 
+#include <stdint.h>
+
 struct build_id_note;
 
 const struct build_id_note *
-build_id_find_nhdr(const char *filename);
+build_id_find_nhdr_for_addr(const void *addr);
 
 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
+
+#endif /* BUILD_ID_H */