Jan,
it won't even compile now:
hash.c:33:18: hash.h: No such file or directory
hash.c: In function `new_hash_table':
hash.c:44: `HASH_SIZE' undeclared (first use in this function)
hash.c:44: (Each undeclared identifier is reported only once
hash.c:44: for each function it appears in.)
hash.c: In function `free_hash_table':
hash.c:61: warning: implicit declaration of function `empty_hash_table'
hash.c: In function `hash':
hash.c:85: `HASH_SIZE' undeclared (first use in this function)
hash.c: In function `hash_table_insert':
hash.c:98: dereferencing pointer to incomplete type
hash.c:104: dereferencing pointer to incomplete type
hash.c:105: dereferencing pointer to incomplete type
hash.c:105: dereferencing pointer to incomplete type
hash.c:107: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:112: dereferencing pointer to incomplete type
hash.c:115: dereferencing pointer to incomplete type
hash.c:117: dereferencing pointer to incomplete type
hash.c:119: dereferencing pointer to incomplete type
hash.c:121: dereferencing pointer to incomplete type
hash.c:123: dereferencing pointer to incomplete type
hash.c:129: dereferencing pointer to incomplete type
hash.c:130: dereferencing pointer to incomplete type
hash.c:134: dereferencing pointer to incomplete type
hash.c:136: dereferencing pointer to incomplete type
hash.c:137: dereferencing pointer to incomplete type
hash.c: In function `match_hash_table':
hash.c:168: dereferencing pointer to incomplete type
hash.c:169: dereferencing pointer to incomplete type
hash.c:170: dereferencing pointer to incomplete type
hash.c:171: dereferencing pointer to incomplete type
hash.c:171: dereferencing pointer to incomplete type
hash.c:172: dereferencing pointer to incomplete type
hash.c: At top level:
hash.c:191: parse error before "FILE"
hash.c: In function `hash_table_print':
hash.c:196: `HASH_SIZE' undeclared (first use in this function)
hash.c:197: `hash_table' undeclared (first use in this function)
hash.c:199: warning: implicit declaration of function `fprintf'
hash.c:199: `reply_file' undeclared (first use in this function)
hash.c:200: dereferencing pointer to incomplete type
hash.c:200: dereferencing pointer to incomplete type
hash.c:200: dereferencing pointer to incomplete type
hash.c:201: dereferencing pointer to incomplete type
hash.c:202: dereferencing pointer to incomplete type
hash.c:203: dereferencing pointer to incomplete type
hash.c: At top level:
hash.c:214: warning: type mismatch with previous implicit declaration
hash.c:61: warning: previous implicit declaration of `empty_hash_table'
hash.c:214: warning: `empty_hash_table' was previously implicitly declared to
return `int'
hash.c: In function `empty_hash_table':
hash.c:218: `HASH_SIZE' undeclared (first use in this function)
hash.c:221: dereferencing pointer to incomplete type
hash.c:222: dereferencing pointer to incomplete type
hash.c:223: dereferencing pointer to incomplete type
make[1]: *** [hash.o] Error 1
Eduard San Anselmo