Revision: | 3.7 |
Committed: | Mon Feb 6 22:40:21 2023 UTC (2 years, 2 months 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 |
# | User | Rev | Content |
---|---|---|---|
1 | gregl | 3.1 | #ifndef lint |
2 | greg | 3.7 | static const char RCSid[] = "$Id: wputs.c,v 3.6 2003/07/30 10:11:06 schorsch Exp $"; |
3 | gregl | 3.1 | #endif |
4 | /* | ||
5 | * Default warning output function. | ||
6 | */ | ||
7 | |||
8 | greg | 3.4 | #include "copyright.h" |
9 | schorsch | 3.5 | |
10 | greg | 3.7 | #include <stdio.h> |
11 | |||
12 | #include "rterror.h" | ||
13 | greg | 3.3 | |
14 | gwlarson | 3.2 | int nowarn = 0; /* don't print warnings? */ |
15 | |||
16 | greg | 3.3 | void |
17 | greg | 3.7 | wputs(const char *s) |
18 | gregl | 3.1 | { |
19 | gwlarson | 3.2 | if (!nowarn) |
20 | eputs(s); | ||
21 | gregl | 3.1 | } |