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

Comparing ray/src/cal/cnt.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:20 2003 UTC vs.
Revision 1.2 by schorsch, Sun Jun 8 12:03:09 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *      2/1/88
8   */
9  
10 + #include  <stdlib.h>
11   #include  <stdio.h>
12  
13  
14   int  n[50];
15   char  buf[256];
16  
17 + static void loop(int *n, char *b);
18  
19 < main(argc, argv)
20 < int  argc;
21 < char  *argv[];
19 > int
20 > main(
21 > int  argc,
22 > char  *argv[]
23 > )
24   {
25          int  a;
26  
# Line 31 | Line 35 | char  *argv[];
35  
36  
37   char *
38 < tack(b, i)
39 < register char  *b;
40 < register int  i;
38 > tack(
39 > register char  *b,
40 > register int  i
41 > )
42   {
43          register char  *cp;
44          char  *res;
# Line 59 | Line 64 | register int  i;
64   }
65  
66  
67 < loop(n, b)
68 < int  *n;
69 < char  *b;
67 > static void
68 > loop(
69 > int  *n,
70 > char  *b
71 > )
72   {
73          int  i;
74  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines