diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 12:54:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 12:54:16 -0700 |
commit | eda127631001674cd40466fddb5225e618c2a327 (patch) | |
tree | d9fcd17f07ee1357127098749356f70bbdc17566 | |
parent | b57637a154a40e874a6bcb351aaa8335e86ae3c0 (diff) |
Remove unused code
-rw-r--r-- | handle.c | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -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) { |