From adf53cebd22767a9b091bb8ff2666929d590d7cf Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 6 Feb 2003 17:21:42 +0000 Subject: [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 --- proto.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'proto.h') 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); -- cgit v1.2.3