aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 15:25:45 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-03 15:25:45 +0000
commit0542d65d532d786cca31b9b69a657d8ba1a3160a (patch)
treefb6da11f9848fb51205bb17dc6f5fc54ea3674db
parent[w3m-dev 02979] code_to_str not found ifndef JP_CHARSET (diff)
downloadw3m-0542d65d532d786cca31b9b69a657d8ba1a3160a.tar.gz
w3m-0542d65d532d786cca31b9b69a657d8ba1a3160a.zip
[w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET
* backend.c (get_mime_charset_name): used only ifdef JP_CHARSET From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--backend.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 622837b..c06f498 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-04 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET
+ * backend.c (get_mime_charset_name): used only ifdef JP_CHARSET
+
2002-02-04 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
* [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET
@@ -2750,4 +2755,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.295 2002/02/03 15:22:24 ukai Exp $
+$Id: ChangeLog,v 1.296 2002/02/03 15:25:45 ukai Exp $
diff --git a/backend.c b/backend.c
index 8ce0c07..0730ae7 100644
--- a/backend.c
+++ b/backend.c
@@ -1,4 +1,4 @@
-/* $Id: backend.c,v 1.8 2002/02/03 06:12:41 ukai Exp $ */
+/* $Id: backend.c,v 1.9 2002/02/03 15:25:45 ukai Exp $ */
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@@ -63,6 +63,7 @@ struct {
};
/* *INDENT-ON* */
+#ifdef JP_CHARSET
static char *
get_mime_charset_name(int coding)
{
@@ -86,7 +87,7 @@ get_mime_charset_name(int coding)
}
return r->ptr;
}
-
+#endif
static void
print_headers(Buffer *buf, int len)