1 |
– |
/* Copyright 1988 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* biq.c - simple greyscale quantization. |
6 |
|
* |
7 |
|
* 9/19/88 |
8 |
|
*/ |
9 |
|
|
10 |
+ |
#include "standard.h" |
11 |
|
#include "ciq.h" |
12 |
|
|
13 |
|
|
29 |
|
|
30 |
|
draw_grey(ocm); |
31 |
|
|
32 |
< |
bcopy(color,cm,sizeof color); |
32 |
> |
bcopy((char *)color,(char *)cm,sizeof color); |
33 |
|
} |
34 |
|
|
35 |
|
/*----------------------------------------------------------------------*/ |
58 |
|
} |
59 |
|
picwriteline(y, linout); |
60 |
|
} |
61 |
< |
free((char *)linin); |
62 |
< |
free((char *)linout); |
61 |
> |
free((void *)linin); |
62 |
> |
free((void *)linout); |
63 |
|
} |