X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fmalloc.h;h=4f0d0bf32f370557e0a13a0dfaa1f1f2f50df4cb;hb=dcfc312e3cc930d418f86948ef062eb7e8fd283a;hp=2f191557817347e1f9c8d5c6bf6aacc710d79b79;hpb=4419844a889e14a9d7b08205a41b7d97fe4b2bfc;p=pintos-anon diff --git a/src/threads/malloc.h b/src/threads/malloc.h index 2f19155..4f0d0bf 100644 --- a/src/threads/malloc.h +++ b/src/threads/malloc.h @@ -6,7 +6,9 @@ void malloc_init (void); void *malloc (size_t) __attribute__ ((malloc)); +void *xmalloc (size_t) __attribute__ ((malloc)); void *calloc (size_t, size_t) __attribute__ ((malloc)); +void *xcalloc (size_t, size_t) __attribute__ ((malloc)); void free (void *); #endif /* threads/malloc.h */