aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/poll.c')
-rw-r--r--lib/libc/sys/poll.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/sys/poll.c b/lib/libc/sys/poll.c
index 43c17d2f65ce..6528603e7603 100644
--- a/lib/libc/sys/poll.c
+++ b/lib/libc/sys/poll.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 <sys/poll.h>
#include "libc_private.h"
@@ -43,7 +39,5 @@ __weak_reference(__sys_poll, __poll);
int
poll(struct pollfd pfd[], nfds_t nfds, int timeout)
{
-
- return (((int (*)(struct pollfd *, nfds_t, int))
- __libc_interposing[INTERPOS_poll])(pfd, nfds, timeout));
+ return (INTERPOS_SYS(poll, pfd, nfds, timeout));
}