# | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
---|---|---|
9 | ||
10 | #include <stdio.h> | |
11 | #include <stdlib.h> | |
12 | + | #include <string.h> |
13 | + | |
14 | #include "lookup.h" | |
15 | ||
16 | #ifdef NOSTRUCTASS | |
17 | < | #define copystruct(d,s) bcopy((void *)(s),(void *)(d),sizeof(*(d))) |
17 | > | #define copystruct(d,s) memcpy((void *)(d),(void *)(s),sizeof(*(d))) |
18 | #else | |
19 | #define copystruct(d,s) (*(d) = *(s)) | |
20 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |