summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/char/char.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.h b/src/char/char.h
index f5054d5..dc79cf6 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -59,7 +59,7 @@ struct mf_char {
};
struct mf_char *
-mf_char_new(size_t size);
+mf_char_new(size_t size) __attribute__((__malloc__));
#define mf_char_init(c, t_c, name) \
do { \