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

Comparing ray/src/rt/p_func.c (file contents):
Revision 2.7 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.8 by greg, Tue Jul 8 18:25:00 2014 UTC

# Line 34 | Line 34 | static const char      RCSid[] = "$Id$";
34   */
35  
36  
37 < extern int
37 > int
38   p_bfunc(                        /* compute brightness pattern */
39          OBJREC  *m,
40          RAY  *r
41   )
42   {
43          double  bval;
44 <        register MFUNC  *mf;
44 >        MFUNC  *mf;
45  
46          if (m->oargs.nsargs < 2)
47                  objerror(m, USER, "bad # arguments");
# Line 58 | Line 58 | p_bfunc(                       /* compute brightness pattern */
58   }
59  
60  
61 < extern int
61 > int
62   p_cfunc(                        /* compute color pattern */
63          OBJREC  *m,
64          RAY  *r
65   )
66   {
67          COLOR  cval;
68 <        register MFUNC  *mf;
68 >        MFUNC  *mf;
69  
70          if (m->oargs.nsargs < 4)
71                  objerror(m, USER, "bad # arguments");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines