aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/charset.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-15 11:52:51 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-15 11:52:51 +0000
commitffc254ab3865f9a49e24a6af4e2802627383f9f3 (patch)
treedce7d671c0b681460d5428d0126b90792ea1214d /libwc/charset.c
parentMerge branch 'bug/printf' (diff)
parentDrop C99 features (diff)
downloadw3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.tar.gz
w3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.zip
Merge branch 'bug/alloc'
Diffstat (limited to 'libwc/charset.c')
-rw-r--r--libwc/charset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libwc/charset.c b/libwc/charset.c
index 3f0b74d..ea79b1c 100644
--- a/libwc/charset.c
+++ b/libwc/charset.c
@@ -1,8 +1,7 @@
#include <stdlib.h>
#include <ctype.h>
-#include <gc.h>
-#define New_N(type,n) ((type*)GC_MALLOC((n)*sizeof(type)))
+#include "../alloc.h"
#include "wc.h"