aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:42:38 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:42:38 +0000
commit31a9d9bffaf498555f8d01e9da79bd3c7e6a413a (patch)
tree32946ed825ebd17ae056e05d54a439ac95a1c629 /etc.c
parent[w3m-dev 02648] rewrite strCmp() with strcmp() (diff)
downloadw3m-31a9d9bffaf498555f8d01e9da79bd3c7e6a413a.tar.gz
w3m-31a9d9bffaf498555f8d01e9da79bd3c7e6a413a.zip
[w3m-dev 02647]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'etc.c')
-rw-r--r--etc.c35
1 files changed, 1 insertions, 34 deletions
diff --git a/etc.c b/etc.c
index 77f7f71..d9c7f4c 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.11 2001/12/10 15:04:09 ukai Exp $ */
+/* $Id: etc.c,v 1.12 2001/12/10 15:42:38 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -72,20 +72,6 @@ strncasecmp(char *s1, char *s2, int n)
#endif /* not HAVE_STRCASECMP */
int
-arg_is(char *str, char *tag)
-{
- while (*tag) {
- if (tolower(*tag) != tolower(*str))
- return 0;
- tag++;
- str++;
- }
- while (*str && (*str == ' ' || *str == '\t'))
- str++;
- return (*str == '=');
-}
-
-int
columnSkip(Buffer *buf, int offset)
{
int i, maxColumn;
@@ -207,25 +193,6 @@ gethtmlcmd(char **s)
return cmd;
}
-static char *
-searchAnchorArg(char **arg)
-{
- char *p;
- if (**arg == '"') {
- (*arg)++;
- p = *arg;
- while (*p && *p != '"')
- p++;
- }
- else {
- p = *arg;
- while (*p && *p != '>' && *p != ' ' && *p != ',' &&
- *p != '\t' && *p != '\n')
- p++;
- }
- return p;
-}
-
#ifdef USE_ANSI_COLOR
static int
parse_ansi_color(char **str, Lineprop *effect, Linecolor *color)