summaryrefslogtreecommitdiff
path: root/lib/libc/arch/alpha/gen
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-12-09 20:32:07 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-12-09 20:32:07 +0000
commitaaed5b099da331dec541f18ab4d6107d19a7a42d (patch)
tree0bf6e70e1e122799d8ebcbe30ed8c6fd6d72b68e /lib/libc/arch/alpha/gen
parentc59845ec3f1de5043f41f9512104f71073999f02 (diff)
ditto frexpl and ldexpl
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);