# | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
---|---|---|
5 | * Routines for computing and applying brightness mapping. | |
6 | */ | |
7 | ||
8 | + | #include <string.h> |
9 | + | |
10 | #include "pcond.h" | |
11 | ||
12 | ||
# | Line 350 | Line 352 | mkbrmap() /* make dynamic range map */ | |
352 | double ceiling, trimmings; | |
353 | register int i; | |
354 | /* copy initial histogram */ | |
355 | < | bcopy((char *)bwhist, (char *)modhist, sizeof(modhist)); |
355 | > | memcpy((void *)modhist, (void *)bwhist, sizeof(modhist)); |
356 | s = (bwmax - bwmin)/HISTRES; /* s is delta b */ | |
357 | /* loop until satisfactory */ | |
358 | do { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |