From c078d6c7843465e9f086be51f4b7013d9ba452f0 Mon Sep 17 00:00:00 2001 From: guenther Date: Mon, 18 Jul 2016 19:05:22 +0000 Subject: [PATCH] We have __weak_alias() everywhere; remove obsolete #ifdef's ok deraadt@ --- lib/libc/softfloat/fpgetmask.c | 4 +--- lib/libc/softfloat/fpgetround.c | 4 +--- lib/libc/softfloat/fpgetsticky.c | 4 +--- lib/libc/softfloat/fpsetmask.c | 4 +--- lib/libc/softfloat/fpsetround.c | 4 +--- lib/libc/softfloat/fpsetsticky.c | 4 +--- 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 -#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 -#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 -#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 -#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 -#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 -#ifdef __weak_alias __weak_alias(_fpsetsticky,fpsetsticky); -#endif fp_except fpsetsticky(fp_except except) -- 2.20.1