util: move debug_memory_{begin,end} to os_memory_debug.h
[mesa.git] / src / util / os_memory_debug.h
index 9a487dec05c8e181f2d826f5527f66b259bb98da..020f46fb3d1371406c7d6200d80d6a22abedcefc 100644 (file)
@@ -36,9 +36,6 @@
 #endif
 
 
-#include "pipe/p_compiler.h"
-
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -60,6 +57,12 @@ void *
 debug_realloc(const char *file, unsigned line, const char *function,
               void *old_ptr, size_t old_size, size_t new_size );
 
+unsigned long
+debug_memory_begin(void);
+
+void
+debug_memory_end(unsigned long start_no);
+
 void
 debug_memory_tag(void *ptr, unsigned tag);