aboutsummaryrefslogtreecommitdiffstats
path: root/news.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:46:13 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:46:13 +0000
commitee18da17df3863c1eb433ee697ff13fefc51ab82 (patch)
tree8f4cc8fc15b21ac7a0d05c6013fb3527500ffc92 /news.c
parentfix indent (diff)
downloadw3m-ee18da17df3863c1eb433ee697ff13fefc51ab82.tar.gz
w3m-ee18da17df3863c1eb433ee697ff13fefc51ab82.zip
fix build errors
* display.c (make_lastline_message): fix error for undef JP_CHARSET * news.c (readNewsgroup: `code' always required From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'news.c')
-rw-r--r--news.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/news.c b/news.c
index 9455aa7..b7f9362 100644
--- a/news.c
+++ b/news.c
@@ -1,4 +1,4 @@
-/* $Id: news.c,v 1.4 2002/12/27 16:31:49 ukai Exp $ */
+/* $Id: news.c,v 1.5 2002/12/27 16:46:13 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include <stdio.h>
@@ -274,9 +274,7 @@ readNewsgroup(ParsedURL *pu)
char *volatile qgroup;
int status, i, first, last;
volatile int flag = 0, start = 0, end = 0;
-#ifdef JP_CHARSET
char code = '\0';
-#endif
MySignalHandler(*volatile trap) (SIGNAL_ARG) = NULL;
if (current_news.host == NULL || !pu->file || *pu->file == '\0')