aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/sigsuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/sigsuspend.c')
-rw-r--r--lib/libc/sys/sigsuspend.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/sigsuspend.c b/lib/libc/sys/sigsuspend.c
index 1f980a117a1b..32125eb846be 100644
--- a/lib/libc/sys/sigsuspend.c
+++ b/lib/libc/sys/sigsuspend.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2014 The FreeBSD Foundation.
- * All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
@@ -30,9 +29,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/types.h>
#include <signal.h>
#include "libc_private.h"
@@ -44,7 +40,6 @@ __weak_reference(sigsuspend, __libc_sigsuspend);
int
sigsuspend(const sigset_t *set)
{
-
return (((int (*)(const sigset_t *))
- __libc_interposing[INTERPOS_sigsuspend])(set));
+ *(__libc_interposing_slot(INTERPOS_sigsuspend)))(set));
}