Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libm/src/s_cos.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- src/lib/libm/src/s_cos.c 1999/07/02 15:37:42 1.9 +++ src/lib/libm/src/s_cos.c 2002/05/26 22:01:54 1.10 @@ -12,7 +12,7 @@ #include #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: s_cos.c,v 1.9 1999/07/02 15:37:42 simonb Exp $"); +__RCSID("$NetBSD: s_cos.c,v 1.10 2002/05/26 22:01:54 wiz Exp $"); #endif /* cos(x) @@ -49,12 +49,8 @@ __RCSID("$NetBSD: s_cos.c,v 1.9 1999/07/ #include "math.h" #include "math_private.h" -#ifdef __STDC__ - double cos(double x) -#else - double cos(x) - double x; -#endif +double +cos(double x) { double y[2],z=0.0; int32_t n, ix;