aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:04:09 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:04:09 +0000
commit3b7796acde15c7f087ae99390104fbbef8636b41 (patch)
tree05523e33cf2216fdd75eb646df4c459f56341ce7
parent[w3m-dev 02646] (diff)
downloadw3m-3b7796acde15c7f087ae99390104fbbef8636b41.tar.gz
w3m-3b7796acde15c7f087ae99390104fbbef8636b41.zip
[w3m-dev 02647]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
-rw-r--r--ChangeLog8
-rw-r--r--etc.c39
-rw-r--r--proto.h3
3 files changed, 9 insertions, 41 deletions
diff --git a/ChangeLog b/ChangeLog
index 96a9522..1ee9ca8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 02647]
+ * proto.h (getAnchor): deleted
+ * etc.c (getAnchor): deleted
+
2001-12-09 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02646] Some code cleanups
@@ -1118,4 +1124,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.118 2001/12/09 13:59:04 ukai Exp $
+$Id: ChangeLog,v 1.119 2001/12/10 15:04:09 ukai Exp $
diff --git a/etc.c b/etc.c
index 48f62ea..77f7f71 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.10 2001/12/09 13:59:04 ukai Exp $ */
+/* $Id: etc.c,v 1.11 2001/12/10 15:04:09 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -226,43 +226,6 @@ searchAnchorArg(char **arg)
return p;
}
-char *
-getAnchor(char *arg, char **arg_return)
-{
- char *p;
- char buf[LINELEN];
-
- if (arg_is(arg, "name")) {
- arg += 4;
- while (*arg && (*arg == ' ' || *arg == '\t'))
- arg++;
- if (*arg != '=')
- return NULL;
- arg++;
- while (*arg && (*arg == ' ' || *arg == '\t'))
- arg++;
- p = searchAnchorArg(&arg);
- buf[0] = '#';
- strncpy(&buf[1], arg, p - arg);
- if (arg_return)
- *arg_return = p;
- return allocStr(buf, p - arg + 1);
- }
- while (*arg && *arg != '=')
- arg++;
- if (*arg == '\0')
- return NULL;
- arg++;
- while (*arg && (*arg == ' ' || *arg == '\t'))
- arg++;
- p = searchAnchorArg(&arg);
- if (arg_return)
- *arg_return = p;
- if (p == arg)
- return allocStr(" ", 1);
- return allocStr(arg, p - arg);
-}
-
#ifdef USE_ANSI_COLOR
static int
parse_ansi_color(char **str, Lineprop *effect, Linecolor *color)
diff --git a/proto.h b/proto.h
index f51e77a..0bdcb08 100644
--- a/proto.h
+++ b/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.14 2001/12/09 13:59:04 ukai Exp $ */
+/* $Id: proto.h,v 1.15 2001/12/10 15:04:09 ukai Exp $ */
/*
* This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended.
@@ -235,7 +235,6 @@ extern int columnPos(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 char *getAnchor(char *arg, char **arg_return);
extern Str checkType(Str s, Lineprop *oprop,
#ifdef USE_ANSI_COLOR
Linecolor *ocolor, int *check_color,