]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_log10f_compat.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / math / w_log10f_compat.c
index 2cb5c9a1bb0dd39bb963c375e9368575b9808e87..37e2c359e127dba13249434780089939279c40b6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2019 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-float.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper log10f(x) */
 float
 __log10f (float x)
@@ -42,4 +44,5 @@ __log10f (float x)
 
   return  __ieee754_log10f (x);
 }
-weak_alias (__log10f, log10f)
+libm_alias_float (__log10, log10)
+#endif