summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handle.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/handle.c b/handle.c
index fe5b6ac..6992a8b 100644
--- a/handle.c
+++ b/handle.c
@@ -234,24 +234,6 @@ skip_until_char(char *s, int len, char c)
return (i);
}
-#if 0
-static int
-skip_until_chars(char *s, int len, char *cs, int cslen)
-{
- int i;
-
- for (i = 0; i < len; i++) {
- register int j;
- register char c = s[i];
-
- for (j = 0; j < cslen; j++) {
- if (c == cs[j]) goto done;
- }
- }
- done:
- return (i);
-}
-#endif
/*
* The action routines.
@@ -284,21 +266,6 @@ add_to_work_queue(union op *p) /* this can become a macro someday */
return;
}
-#if 0
-static char *
-copystring(char *s, int len)
-{
- char *retval;
-
- retval = (char *) malloc (len+1);
- if (retval) {
- strncpy (retval, s, len);
- retval[len] = '\0';
- }
- return (retval);
-}
-#endif
-
static Bool
parse_number(char *str, unsigned long *val)
{