diff options
Diffstat (limited to 'libm/w_atan2.c')
-rw-r--r-- | libm/w_atan2.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/libm/w_atan2.c b/libm/w_atan2.c index 6a13d2b3c..a85e2047b 100644 --- a/libm/w_atan2.c +++ b/libm/w_atan2.c @@ -1,4 +1,3 @@ -/* @(#)w_atan2.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -10,22 +9,14 @@ * ==================================================== */ -#if defined(LIBM_SCCS) && !defined(lint) -static char rcsid[] = "$NetBSD: w_atan2.c,v 1.6 1995/05/10 20:48:39 jtc Exp $"; -#endif - /* * wrapper atan2(y,x) */ + #include "math.h" #include "math_private.h" -#ifdef __STDC__ - double atan2(double y, double x) /* wrapper atan2 */ -#else - double atan2(y,x) /* wrapper atan2 */ - double y,x; -#endif +double atan2(double y, double x) /* wrapper atan2 */ { #ifdef _IEEE_LIBM return __ieee754_atan2(y,x); |