summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-18 19:05:23 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-18 19:05:23 +0000
commitbc592de972cfc5e39e2e54b9d797c32f467b6f5b (patch)
treeea11cef79b3e05cc68339581b8bba6cc1e580732
parentef9e5d7667e3fc5d6988761a0192052de5891df9 (diff)
We have __weak_alias() everywhere; remove obsolete #ifdef's
ok deraadt@
-rw-r--r--lib/libc/softfloat/fpgetmask.c4
-rw-r--r--lib/libc/softfloat/fpgetround.c4
-rw-r--r--lib/libc/softfloat/fpgetsticky.c4
-rw-r--r--lib/libc/softfloat/fpsetmask.c4
-rw-r--r--lib/libc/softfloat/fpsetround.c4
-rw-r--r--lib/libc/softfloat/fpsetsticky.c4
6 files changed, 6 insertions, 18 deletions
diff --git a/lib/libc/softfloat/fpgetmask.c b/lib/libc/softfloat/fpgetmask.c
index 9839b8b15a2..11b0ef1e923 100644
--- a/lib/libc/softfloat/fpgetmask.c
+++ b/lib/libc/softfloat/fpgetmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetmask.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpgetmask.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpgetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */
/*-
@@ -38,9 +38,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpgetmask,fpgetmask);
-#endif
fp_except
fpgetmask(void)
diff --git a/lib/libc/softfloat/fpgetround.c b/lib/libc/softfloat/fpgetround.c
index 164e8a99ea5..b180d415bf2 100644
--- a/lib/libc/softfloat/fpgetround.c
+++ b/lib/libc/softfloat/fpgetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetround.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpgetround.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpgetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -37,9 +37,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpgetround,fpgetround);
-#endif
fp_rnd
fpgetround(void)
diff --git a/lib/libc/softfloat/fpgetsticky.c b/lib/libc/softfloat/fpgetsticky.c
index 0964a1065d3..c9692a6b1b2 100644
--- a/lib/libc/softfloat/fpgetsticky.c
+++ b/lib/libc/softfloat/fpgetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetsticky.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpgetsticky.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpgetsticky.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -37,9 +37,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpgetsticky,fpgetsticky);
-#endif
fp_except
fpgetsticky(void)
diff --git a/lib/libc/softfloat/fpsetmask.c b/lib/libc/softfloat/fpsetmask.c
index 178f31f0e8a..2ab3c449cba 100644
--- a/lib/libc/softfloat/fpsetmask.c
+++ b/lib/libc/softfloat/fpsetmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetmask.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpsetmask.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpsetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */
/*-
@@ -37,9 +37,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpsetmask,fpsetmask);
-#endif
fp_except
fpsetmask(fp_except mask)
diff --git a/lib/libc/softfloat/fpsetround.c b/lib/libc/softfloat/fpsetround.c
index 35f300a6f24..0c15285f205 100644
--- a/lib/libc/softfloat/fpsetround.c
+++ b/lib/libc/softfloat/fpsetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetround.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpsetround.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpsetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -37,9 +37,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpsetround,fpsetround);
-#endif
fp_rnd
fpsetround(fp_rnd rnd_dir)
diff --git a/lib/libc/softfloat/fpsetsticky.c b/lib/libc/softfloat/fpsetsticky.c
index cff4ec96b25..48f4be4852a 100644
--- a/lib/libc/softfloat/fpsetsticky.c
+++ b/lib/libc/softfloat/fpsetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetsticky.c,v 1.5 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: fpsetsticky.c,v 1.6 2016/07/18 19:05:22 guenther Exp $ */
/* $NetBSD: fpsetsticky.c,v 1.2 2002/01/13 21:45:54 thorpej Exp $ */
/*-
@@ -37,9 +37,7 @@
#include "milieu.h"
#include <softfloat.h>
-#ifdef __weak_alias
__weak_alias(_fpsetsticky,fpsetsticky);
-#endif
fp_except
fpsetsticky(fp_except except)