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

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.27 by greg, Mon Aug 4 22:37:53 2003 UTC vs.
Revision 2.30 by schorsch, Fri Jan 2 12:47:01 2004 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *      1/4/89
8   */
9  
10 #include "standard.h"
10   #include "platform.h"
11 + #include "rtprocess.h"
12 + #include "rterror.h"
13   #include "color.h"
14   #include "calcomp.h"
15   #include "view.h"
# Line 69 | Line 70 | char   *progname;                      /* global argv[0] */
70   int     wrongformat = 0;
71   int     gotview;
72  
72 FILE    *popen();
73  
74   extern char     *emalloc();
75  
76 + static gethfunc tabputs;
77  
78   main(argc, argv)
79   int     argc;
# Line 219 | Line 220 | usage:
220   }
221  
222  
223 < tabputs(s)                      /* put out string preceded by a tab */
224 < char    *s;
223 > static int
224 > tabputs(                        /* put out string preceded by a tab */
225 >        char    *s,
226 >        void    *p
227 > )
228   {
229          char    fmt[32];
230          double  d;
# Line 597 | Line 601 | l_psize(char *nm)              /* compute pixel size in steradians
601   }
602  
603  
604 < void
605 < wputs(msg)
602 < char    *msg;
604 > extern void
605 > wputs(char      *msg)
606   {
607          if (!nowarn)
608                  eputs(msg);
609   }
610  
611  
612 < void
613 < eputs(msg)
611 < char    *msg;
612 > extern void
613 > eputs(char *msg)
614   {
615          fputs(msg, stderr);
616   }
617  
618  
619 < void
620 < quit(code)              /* exit gracefully */
619 < int  code;
619 > extern void
620 > quit(int code)          /* exit gracefully */
621   {
622          register int  i;
623                                  /* close input files */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines