--- a/zdefs.c Tue Aug 28 08:40:49 2007 +0200
+++ b/zdefs.c Wed Aug 29 00:19:14 2007 +0200
@@ -6,48 +6,6 @@
printf("%s\n", str);
}
-static int skip_newline(const char *str, int *index)
-{
- while(str[*index] != 0 && str[*index] != '\n')
- {
- ++*index;
- }
-
- if (str[*index] == '\n')
- return *index;
-
- return -1;
-}
-
-static int until_noword(const char *str, int *index)
-{
- while(str[*index] != 0 &&
- str[*index] != ' ' &&
- str[*index] != '\n' &&
- str[*index] != '\r' &&
- str[*index] != ',')
- {
- ++*index;
- }
-
- if (str[*index] != 0)
- return *index;
-
- return -1;
-}
-
-static int until_newword(const unsigned char *str, int *index)
-{
- while(str[*index] != 0 && str[*index] < 128)
- {
- ++*index;
- }
-
- if (str[*index] != 0);
- return *index;
-
- return -1;
-}
void zprocess_def(const char *root, char *def)
{