--- ray/src/common/wputs.c 1998/06/03 12:11:45 3.2 +++ ray/src/common/wputs.c 2023/02/06 22:40:21 3.7 @@ -1,17 +1,20 @@ -/* Copyright (c) 1997 Silicon Graphics, Inc. */ - #ifndef lint -static char SCCSid[] = "$SunId$ SGI"; +static const char RCSid[] = "$Id: wputs.c,v 3.7 2023/02/06 22:40:21 greg Exp $"; #endif - /* * Default warning output function. */ +#include "copyright.h" + +#include + +#include "rterror.h" + int nowarn = 0; /* don't print warnings? */ -wputs(s) -char *s; +void +wputs(const char *s) { if (!nowarn) eputs(s);