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

Comparing ray/src/px/d48c.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:49:15 1989 UTC vs.
Revision 1.4 by schorsch, Mon Oct 27 10:24:51 2003 UTC

# Line 1 | Line 1
1 /*
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
4 + /*
5   *  d48c.c - driver for dicomed D48 film recorder w/ color optics.
6   *
7   *     3/26/87
8   */
9  
10   #include  <stdio.h>
12
11   #include  <signal.h>
12  
13 + #include  "rterror.h"
14   #include  "color.h"
15  
16  
# Line 128 | Line 127 | main(argc, argv)
127   int  argc;
128   char  *argv[];
129   {
131        int  quit();
130          int  i;
131  
132          if (signal(SIGINT, quit) == SIG_IGN)
133                  signal(SIGINT, SIG_IGN);
134 + #ifdef SIGHUP
135          if (signal(SIGHUP, quit) == SIG_IGN)
136                  signal(SIGINT, SIG_IGN);
137 + #endif
138          signal(SIGTERM, quit);
139 + #ifdef SIGPIPE
140          signal(SIGPIPE, quit);
141 + #endif
142 + #ifdef SIGXCPU
143          signal(SIGXCPU, quit);
144 + #endif
145 + #ifdef SIGXFSZ
146          signal(SIGXFSZ, quit);
147 + #endif
148  
149          progname = argv[0];
150  
# Line 182 | Line 188 | char  *cname;
188   }
189  
190  
191 < quit(code)                      /* quit program */
192 < int  code;
191 > void
192 > quit(int code)                  /* quit program */
193   {
194          int  i;
195  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines