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

Comparing ray/src/px/psign.c (file contents):
Revision 1.2 by greg, Sat Dec 8 10:12:07 1990 UTC vs.
Revision 2.2 by greg, Thu Dec 19 14:52:00 1991 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1987 Regents of the University of California */
1 > /* Copyright (c) 1991 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 57 | Line 57 | main(argc, argv)
57   int  argc;
58   char  *argv[];
59   {
60        double  atof();
60          int  an;
61  
62          for (an = 1; an < argc && argv[an][0] == '-'; an++)
# Line 121 | Line 120 | unkopt:
120          maptext();
121                                          /* print header */
122          printargs(argc, argv, stdout);
123 <        printf("\n\n");
123 >        fputformat(COLRFMT, stdout);
124 >        putchar('\n');
125                                          /* write out bitmap */
126          writemap(stdout);
127  
# Line 391 | Line 391 | FILE  *fp;
391                  }
392          }
393          free((char *)scanout);
394 }
395
396
397 printargs(ac, av, fp)           /* print arguments to a file */
398 int  ac;
399 char  **av;
400 FILE  *fp;
401 {
402        while (ac-- > 0) {
403                fputs(*av++, fp);
404                putc(' ', fp);
405        }
394   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines