aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
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)