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