aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/ppoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/ppoll.c')
-rw-r--r--lib/libc/sys/ppoll.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libc/sys/ppoll.c b/lib/libc/sys/ppoll.c
index f62fd19cafe1..52c4c177cf0a 100644
--- a/lib/libc/sys/ppoll.c
+++ b/lib/libc/sys/ppoll.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2015 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 <sys/poll.h>
#include "libc_private.h"
@@ -44,8 +40,5 @@ int
ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict
timeout, const sigset_t *__restrict newsigmask)
{
-
- return (((int (*)(struct pollfd *, nfds_t, const struct timespec *,
- const sigset_t *)) __libc_interposing[INTERPOS_ppoll])(pfd, nfds,
- timeout, newsigmask));
+ return (INTERPOS_SYS(ppoll, pfd, nfds, timeout, newsigmask));
}