projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set CR0_WP in CR0.
[pintos-anon]
/
src
/
threads
/
malloc.h
diff --git
a/src/threads/malloc.h
b/src/threads/malloc.h
index 231531247b86fc72d015c7595eb8ff3f0ff439c9..1fb531f42ca0bd4cb9802ec9f08a6ff2ad04ba17 100644
(file)
--- a/
src/threads/malloc.h
+++ b/
src/threads/malloc.h
@@
-5,8
+5,8
@@
#include <stddef.h>
void malloc_init (void);
-void *malloc (size_t)
-
ATTRIBUTE
((malloc));
+void *malloc (size_t)
__attribute__ ((malloc));
+
void *calloc (size_t, size_t) __attribute__
((malloc));
void free (void *);
#endif /* malloc.h */