--- ray/src/common/wputs.c 1997/11/11 19:53:17 3.1 +++ ray/src/common/wputs.c 2003/02/25 02:47:22 3.4 @@ -1,15 +1,18 @@ -/* Copyright (c) 1997 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: wputs.c,v 3.4 2003/02/25 02:47:22 greg Exp $"; #endif - /* * Default warning output function. */ +#include "copyright.h" + +int nowarn = 0; /* don't print warnings? */ + +void wputs(s) char *s; { - eputs(s); + if (!nowarn) + eputs(s); }