aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-02-06 17:21:42 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-02-06 17:21:42 +0000
commitadf53cebd22767a9b091bb8ff2666929d590d7cf (patch)
treebc2375e4891d2856654930132d43eb8c273dc814 /proto.h
parent[w3m-dev 03733] Re: display decoded URL (diff)
downloadw3m-adf53cebd22767a9b091bb8ff2666929d590d7cf.tar.gz
w3m-adf53cebd22767a9b091bb8ff2666929d590d7cf.zip
[w3m-dev 03735] Re: make error of checkType arg
* etc.c (checkType): delete USE_ANSI_COLOR * file.c (addnewline): macro for USE_ANSI_COLOR (readHeader): rewrite of USE_ANSI_COLOR (HTMLlineproc2body): ditto (addnewline2): ditto (addnewline): ditto (loadBuffer): ditto (getNextPage): ditto * proto.h (checkType): macro for USE_ANSI_COLOR From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/proto.h b/proto.h
index 460663c..1f503f9 100644
--- a/proto.h
+++ b/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.89 2003/02/06 17:15:13 ukai Exp $ */
+/* $Id: proto.h,v 1.90 2003/02/06 17:21:44 ukai Exp $ */
/*
* This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended.
@@ -306,11 +306,10 @@ extern int columnLen(Line *line, int column);
extern Line *lineSkip(Buffer *buf, Line *line, int offset, int last);
extern Line *currentLineSkip(Buffer *buf, Line *line, int offset, int last);
extern int gethtmlcmd(char **s);
-extern Str checkType(Str s, Lineprop **oprop
-#ifdef USE_ANSI_COLOR
- , Linecolor **ocolor
+#ifndef USE_ANSI_COLOR
+#define checkType(a,b,c) _checkType(a,b)
#endif
- );
+extern Str checkType(Str s, Lineprop **oprop, Linecolor **ocolor);
extern int calcPosition(char *l, Lineprop *pr, int len, int pos, int bpos,
int mode);
extern char *lastFileName(char *path);