diff options
Diffstat (limited to 'libm/s_tan.c')
| -rw-r--r-- | libm/s_tan.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libm/s_tan.c b/libm/s_tan.c index bab343c73..5a2bc930c 100644 --- a/libm/s_tan.c +++ b/libm/s_tan.c @@ -1,4 +1,3 @@ -/* @(#)s_tan.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -10,10 +9,6 @@ * ==================================================== */ -#if defined(LIBM_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: s_tan.c,v 1.7 1995/05/10 20:48:18 jtc Exp $"; -#endif - /* tan(x) * Return tangent function of x. * @@ -47,13 +42,7 @@ static char rcsid[] = "$NetBSD: s_tan.c,v 1.7 1995/05/10 20:48:18 jtc Exp $"; #include "math.h" #include "math_private.h" -libm_hidden_proto(tan) -#ifdef __STDC__ - double tan(double x) -#else - double tan(x) - double x; -#endif +double tan(double x) { double y[2],z=0.0; int32_t n, ix; |
