librace: format DEBUG() prints properly
[cdsspec-compiler.git] / common.h
index 79f42ebd44e99a05817e751b904bab3d101aae67..0da662aa69e80fddc5f9c383c1656a43969e6d4d 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,5 +1,5 @@
-#ifndef __CONFIG_H__
-#define __CONFIG_H__
+#ifndef __COMMON_H__
+#define __COMMON_H__
 
 #include <stdio.h>
 
 #define DBG()
 #endif
 
-#endif /* __CONFIG_H__ */
+void * myMalloc(size_t size);
+void myFree(void *ptr);
+
+#define userMalloc(size)       malloc(size)
+#define userFree(ptr)          free(ptr)
+
+#endif /* __COMMON_H__ */