[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>
This commit is contained in:
Fumitoshi UKAI
2002-02-03 15:25:45 +00:00
parent b649a8880a
commit 0542d65d53
2 changed files with 9 additions and 3 deletions

View File

@@ -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> 2002-02-04 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
* [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET * [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET
@@ -2750,4 +2755,4 @@
* release-0-2-1 * release-0-2-1
* import w3m-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 $

View File

@@ -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 <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
@@ -63,6 +63,7 @@ struct {
}; };
/* *INDENT-ON* */ /* *INDENT-ON* */
#ifdef JP_CHARSET
static char * static char *
get_mime_charset_name(int coding) get_mime_charset_name(int coding)
{ {
@@ -86,7 +87,7 @@ get_mime_charset_name(int coding)
} }
return r->ptr; return r->ptr;
} }
#endif
static void static void
print_headers(Buffer *buf, int len) print_headers(Buffer *buf, int len)