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.6 by schorsch, Wed Jul 30 10:11:06 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 < wputs(s)
9 < char    *s;
8 > #include "copyright.h"
9 >
10 > #include "standard.h"
11 >
12 > int     nowarn = 0;             /* don't print warnings? */
13 >
14 > void
15 > wputs(char *s)
16   {
17 <        eputs(s);
17 >        if (!nowarn)
18 >                eputs(s);
19   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines