1 |
– |
/* Copyright (c) 1986 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 |
|
* t4027.c - program to dump pixel file to Tektronix 4027. |
6 |
|
* |
134 |
|
{ 0, 0x44, 0xb2, 0xff }, |
135 |
|
{ 0, 0x22, 0x2d, 0xff } |
136 |
|
}; |
137 |
< |
static short isset[64]; |
137 |
> |
/* isset is a common bitmap related macro in <sys/param.h> */ |
138 |
> |
static short cisset[64]; |
139 |
|
int pat; |
140 |
|
register int r, g, b; |
141 |
|
|
142 |
< |
if (isset[col]) { |
142 |
> |
if (cisset[col]) { |
143 |
|
printf("%cCOL P%d", COM, col); |
144 |
|
return; |
145 |
|
} |
185 |
|
printf(" C0"); /* white */ |
186 |
|
printpat(pat); |
187 |
|
} |
188 |
< |
isset[col] = 1; |
188 |
> |
cisset[col] = 1; |
189 |
|
printf("%cCOL P%d", COM, col); |
190 |
|
} |
191 |
|
|