summaryrefslogtreecommitdiff
path: root/handle.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-07-17 12:54:16 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-07-17 12:54:16 -0700
commiteda127631001674cd40466fddb5225e618c2a327 (patch)
treed9fcd17f07ee1357127098749356f70bbdc17566 /handle.c
parentb57637a154a40e874a6bcb351aaa8335e86ae3c0 (diff)
Remove unused code
Diffstat (limited to 'handle.c')
-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)
{