ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/wputs.c
Revision: 3.2
Committed: Wed Jun 3 12:11:45 1998 UTC (25 years, 11 months ago) by gwlarson
Content type: text/plain
Branch: MAIN
Changes since 3.1: +4 -1 lines
Log Message:
added nowarn variable definition

File Contents

# User Rev Content
1 gregl 3.1 /* Copyright (c) 1997 Silicon Graphics, Inc. */
2    
3     #ifndef lint
4     static char SCCSid[] = "$SunId$ SGI";
5     #endif
6    
7     /*
8     * Default warning output function.
9     */
10    
11 gwlarson 3.2 int nowarn = 0; /* don't print warnings? */
12    
13 gregl 3.1 wputs(s)
14     char *s;
15     {
16 gwlarson 3.2 if (!nowarn)
17     eputs(s);
18 gregl 3.1 }