summaryrefslogtreecommitdiff
path: root/lib/libc/arch/alpha/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/alpha/gen')
-rw-r--r--lib/libc/arch/alpha/gen/ldexp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/arch/alpha/gen/ldexp.c b/lib/libc/arch/alpha/gen/ldexp.c
index e3ea95e0f6c..c54e6653043 100644
--- a/lib/libc/arch/alpha/gen/ldexp.c
+++ b/lib/libc/arch/alpha/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.4 2005/08/07 16:40:13 espie Exp $ */
+/* $OpenBSD: ldexp.c,v 1.5 2008/12/09 20:32:06 martynas Exp $ */
/* $NetBSD: ldexp.c,v 1.1 1995/02/10 17:50:24 cgd Exp $ */
/*
@@ -29,6 +29,7 @@
*/
#include <sys/types.h>
+#include <machine/cdefs.h>
#include <machine/ieee.h>
#include <errno.h>
#include <math.h>
@@ -133,3 +134,5 @@ ldexp(val, exp)
u.s.dbl_exp = newexp;
return (u.v);
}
+
+__weak_alias(ldexpl, ldexp);