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.2 by gwlarson, Wed Jun 3 12:11:45 1998 UTC vs.
Revision 3.7 by greg, Mon Feb 6 22:40:21 2023 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 <stdio.h>
11 +
12 + #include "rterror.h"
13 +
14   int     nowarn = 0;             /* don't print warnings? */
15  
16 < wputs(s)
17 < char    *s;
16 > void
17 > wputs(const char *s)
18   {
19          if (!nowarn)
20                  eputs(s);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines