|
@@ -192,23 +192,6 @@ static void define_config(const char *name, int len, unsigned int hash)
|
|
|
hashtab[hash % HASHSZ] = aux;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Clear the set of configuration strings.
|
|
|
- */
|
|
|
-static void clear_config(void)
|
|
|
-{
|
|
|
- struct item *aux, *next;
|
|
|
- unsigned int i;
|
|
|
-
|
|
|
- for (i = 0; i < HASHSZ; i++) {
|
|
|
- for (aux = hashtab[i]; aux; aux = next) {
|
|
|
- next = aux->next;
|
|
|
- free(aux);
|
|
|
- }
|
|
|
- hashtab[i] = NULL;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* Record the use of a CONFIG_* word.
|
|
|
*/
|
|
@@ -347,8 +330,6 @@ static void parse_dep_file(void *map, size_t len)
|
|
|
int saw_any_target = 0;
|
|
|
int is_first_dep = 0;
|
|
|
|
|
|
- clear_config();
|
|
|
-
|
|
|
while (m < end) {
|
|
|
/* Skip any "white space" */
|
|
|
while (m < end && (*m == ' ' || *m == '\\' || *m == '\n'))
|