ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_pict.c
(Generate patch)

Comparing ray/src/px/ra_pict.c (file contents):
Revision 1.1 by greg, Wed Oct 23 09:26:35 1991 UTC vs.
Revision 1.3 by greg, Mon Oct 28 16:41:31 1991 UTC

# Line 8 | Line 8 | static char SCCSid[] = "$SunId$ AU";
8      Auckland, New Zealand
9   */
10   #include <stdio.h>
11 #include <stdlib.h>
11   #include "pict.h"
12   #include "color.h"
13  
14 + extern char  *malloc();
15 +
16   char cbuf[8192*5];
17   char pbuf[8192];
18   int outbytes;
19   FILE *outf, *inf;
20   char **gargv;
21  
21 putpic(int, int);
22
22   putrect(xorg,yorg,xsize,ysize)
23   int xorg, yorg, xsize, ysize;
24   {
# Line 193 | Line 192 | int ysize;
192          putbyte(0);
193   }
194  
195 < int getrow(FILE *in, char *mybuff, int xsize)
195 > int
196 > getrow(in, mybuff, xsize)
197 > FILE  *in;
198 > char  *mybuff;
199 > int  xsize;
200   {
201      COLOR    color;
202      COLR    *scanin = (COLR*) malloc(xsize * sizeof(COLR));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines