]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_asin_compat.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / math / w_asin_compat.c
index 59beea817d7051779cab7166ee109cff8afc7c2a..c55913d30478159975a2bae615a486483ccf9d51 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper asin */
 double
 __asin (double x)
@@ -36,8 +38,5 @@ __asin (double x)
 
   return __ieee754_asin (x);
 }
-weak_alias (__asin, asin)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__asin, __asinl)
-weak_alias (__asin, asinl)
+libm_alias_double (__asin, asin)
 #endif