aboutsummaryrefslogtreecommitdiffstats
path: root/libwc
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
parentMerge branch 'bug/printf' (diff)
parentDrop C99 features (diff)
downloadw3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.tar.gz
w3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.zip
Merge branch 'bug/alloc'
Diffstat (limited to 'libwc')
-rw-r--r--libwc/charset.c3
-rw-r--r--libwc/status.c3
2 files changed, 2 insertions, 4 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"
diff --git a/libwc/status.c b/libwc/status.c
index d25c924..4a2ebf8 100644
--- a/libwc/status.c
+++ b/libwc/status.c
@@ -1,7 +1,6 @@
#include <string.h>
-#include <gc.h>
-#define New_N(type,n) ((type*)GC_MALLOC((n)*sizeof(type)))
+#include "../alloc.h"
#include "wc.h"
#ifdef USE_UNICODE