projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get rid of redundant mallocs
[c11tester.git]
/
common.h
diff --git
a/common.h
b/common.h
index 088ef2da8fe0db69bd0038e2759352121b7b27ca..81facf69c634e855b71d71ffa8cf1eddca11f822 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-3,6
+3,7
@@
#include <stdio.h>
#include <stdlib.h>
+#include "mymemory.h"
#define CONFIG_DEBUG
@@
-25,9
+26,6
@@
do { \
} while (0);
-void * myMalloc(size_t size);
-void myFree(void *ptr);
-
#define userMalloc(size) malloc(size)
#define userFree(ptr) free(ptr)