]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/ieee754/flt-32/s_sincosf.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / ieee754 / flt-32 / s_sincosf.c
index 1b4d000e11d65a2d7fac296b91fae1368772bd30..5cf5db03cb9d91c2691dea7bc7c7a4f8ff788247 100644 (file)
@@ -1,5 +1,5 @@
 /* Compute sine and cosine of argument.
-   Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
 
 #include <math_private.h>
 
+#ifndef SINCOSF
+# define SINCOSF_FUNC __sincosf
+#else
+# define SINCOSF_FUNC SINCOSF
+#endif
 
 void
-__sincosf (float x, float *sinx, float *cosx)
+SINCOSF_FUNC (float x, float *sinx, float *cosx)
 {
   int32_t ix;
 
@@ -70,4 +75,7 @@ __sincosf (float x, float *sinx, float *cosx)
        }
     }
 }
+
+#ifndef SINCOSF
 weak_alias (__sincosf, sincosf)
+#endif