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

Comparing ray/src/common/wputs.c (file contents):
Revision 3.1 by gregl, Tue Nov 11 19:53:17 1997 UTC vs.
Revision 3.5 by schorsch, Sat Jun 7 12:50:21 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1997 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Default warning output function.
6   */
7  
8 + #include "copyright.h"
9 +
10 + #include "standard.h"
11 +
12 + int     nowarn = 0;             /* don't print warnings? */
13 +
14 + void
15   wputs(s)
16   char    *s;
17   {
18 <        eputs(s);
18 >        if (!nowarn)
19 >                eputs(s);
20   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines