projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca4944
)
Use __attribute__ directly.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Aug 2004 22:04:56 +0000
(22:04 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 31 Aug 2004 22:04:56 +0000
(22:04 +0000)
src/threads/malloc.h
patch
|
blob
|
history
diff --git
a/src/threads/malloc.h
b/src/threads/malloc.h
index a2125924f47b63340dea967c94c542a943d0379b..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 *calloc (size_t, size_t)
ATTRIBUTE
((malloc));
+void *malloc (size_t)
__attribute__
((malloc));
+void *calloc (size_t, size_t)
__attribute__
((malloc));
void free (void *);
#endif /* malloc.h */