summaryrefslogtreecommitdiff
path: root/lib/libc/arch/riscv64/gen/fpsetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/riscv64/gen/fpsetmask.c')
-rw-r--r--lib/libc/arch/riscv64/gen/fpsetmask.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/arch/riscv64/gen/fpsetmask.c b/lib/libc/arch/riscv64/gen/fpsetmask.c
index 03485db6c93..d4b1edd5d79 100644
--- a/lib/libc/arch/riscv64/gen/fpsetmask.c
+++ b/lib/libc/arch/riscv64/gen/fpsetmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetmask.c,v 1.1 2021/04/28 08:22:56 kettenis Exp $ */
+/* $OpenBSD: fpsetmask.c,v 1.2 2021/04/29 17:19:18 kettenis Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
@@ -17,10 +17,9 @@
#include <ieeefp.h>
-__weak_alias(_fpsetmask,fpsetmask);
-
fp_except
fpsetmask(fp_except mask)
{
return 0;
}
+DEF_WEAK(fpsetmask);