OSDN Git Service

lm32: add new architecture
[uclinux-h8/uclibc-ng.git] / libm / s_cos.c
index d458b74..c4b1f86 100644 (file)
@@ -1,4 +1,3 @@
-/* @(#)s_cos.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_cos.c,v 1.7 1995/05/10 20:47:02 jtc Exp $";
-#endif
-
 /* cos(x)
  * Return cosine function of x.
  *
@@ -48,12 +43,7 @@ static char rcsid[] = "$NetBSD: s_cos.c,v 1.7 1995/05/10 20:47:02 jtc Exp $";
 #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;
@@ -80,3 +70,4 @@ static char rcsid[] = "$NetBSD: s_cos.c,v 1.7 1995/05/10 20:47:02 jtc Exp $";
            }
        }
 }
+libm_hidden_def(cos)