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.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libc/sys/sigsuspend.c b/lib/libc/sys/sigsuspend.c
index 1f980a117a1b..ac117650ed1b 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,21 +29,15 @@
* 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"
-__weak_reference(__sys_sigsuspend, __sigsuspend);
__weak_reference(sigsuspend, __libc_sigsuspend);
#pragma weak sigsuspend
int
sigsuspend(const sigset_t *set)
{
-
- return (((int (*)(const sigset_t *))
- __libc_interposing[INTERPOS_sigsuspend])(set));
+ return (INTERPOS_SYS(sigsuspend, set));
}