diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 11:52:51 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 11:52:51 +0000 |
commit | ffc254ab3865f9a49e24a6af4e2802627383f9f3 (patch) | |
tree | dce7d671c0b681460d5428d0126b90792ea1214d /libwc | |
parent | Merge branch 'bug/printf' (diff) | |
parent | Drop C99 features (diff) | |
download | w3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.tar.gz w3m-ffc254ab3865f9a49e24a6af4e2802627383f9f3.zip |
Merge branch 'bug/alloc'
Diffstat (limited to 'libwc')
-rw-r--r-- | libwc/charset.c | 3 | ||||
-rw-r--r-- | libwc/status.c | 3 |
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 |