# | Line 20 | Line 20 | static const char RCSid[] = "$Id$"; | |
---|---|---|
20 | ||
21 | #include "copyright.h" | |
22 | ||
23 | + | #include <string.h> |
24 | + | #include <stdlib.h> |
25 | + | |
26 | + | #include "rtmisc.h" |
27 | + | |
28 | #ifndef NHASH | |
29 | #define NHASH 509 /* hash table size (prime!) */ | |
30 | #endif | |
# | Line 32 | Line 37 | typedef struct s_head { | |
37 | static S_HEAD *stab[NHASH]; | |
38 | ||
39 | #define hash(s) (shash(s)%NHASH) | |
35 | – | |
36 | – | extern char *savestr(), *strcpy(), *malloc(); |
37 | – | |
38 | – | #define NULL 0 |
40 | ||
41 | #define string(sp) ((char *)((sp)+1)) | |
42 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |