# | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
---|---|---|
5 | * Neural-Net quantization algorithm based on work of Anthony Dekker | |
6 | */ | |
7 | ||
8 | < | #include "standard.h" |
8 | > | #include "copyright.h" |
9 | ||
10 | < | #include "color.h" |
10 | > | #include <string.h> |
11 | ||
12 | + | #include "standard.h" |
13 | + | #include "color.h" |
14 | #include "random.h" | |
15 | ||
16 | #ifdef COMPAT_MODE | |
# | Line 182 | Line 184 | int n; | |
184 | return; | |
185 | } | |
186 | N = n; | |
187 | < | bzero((char *)cerr, 3*N*sizeof(short)); |
187 | > | memset((char *)cerr, '\0', 3*N*sizeof(short)); |
188 | } | |
189 | err[0] = err[1] = err[2] = 0; | |
190 | for (x = 0; x < n; x++) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |