ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/wputs.c
Revision: 3.7
Committed: Mon Feb 6 22:40:21 2023 UTC (14 months, 3 weeks ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, HEAD
Changes since 3.6: +5 -3 lines
Log Message:
refactor: Changed some char* args to const char* to avoid warnings

File Contents

# Content
1 #ifndef lint
2 static const char RCSid[] = "$Id: wputs.c,v 3.6 2003/07/30 10:11:06 schorsch Exp $";
3 #endif
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 void
17 wputs(const char *s)
18 {
19 if (!nowarn)
20 eputs(s);
21 }