aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/select.c')
-rw-r--r--lib/libc/sys/select.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/sys/select.c b/lib/libc/sys/select.c
index 3990496ec412..bbbcfc8bf1e0 100644
--- a/lib/libc/sys/select.c
+++ b/lib/libc/sys/select.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/select.h>
#include "libc_private.h"
@@ -43,7 +39,5 @@ __weak_reference(__sys_select, __select);
int
select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t)
{
-
- return (((int (*)(int, fd_set *, fd_set *, fd_set *, struct timeval *))
- __libc_interposing[INTERPOS_select])(n, rs, ws, es, t));
+ return (INTERPOS_SYS(select, n, rs, ws, es, t));
}