summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-09-12 19:36:26 +0000
committerguenther <guenther@openbsd.org>2016-09-12 19:36:26 +0000
commit9e9a60b09757d2658915cfe732e8749a1c44b9a8 (patch)
tree112cc57cb47522d5897e0bddb3edb821dfe35909
parentChange the (unused) restimespec member of __res_state from a timespec (diff)
downloadwireguard-openbsd-9e9a60b09757d2658915cfe732e8749a1c44b9a8.tar.xz
wireguard-openbsd-9e9a60b09757d2658915cfe732e8749a1c44b9a8.zip
Don't declare select() in <unistd.h>
ok deraadt@ millert@
-rw-r--r--include/unistd.h7
-rw-r--r--lib/libc/hidden/unistd.h3
2 files changed, 2 insertions, 8 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 9724e275d4d..ec017115a8c 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.102 2016/09/09 18:12:37 millert Exp $ */
+/* $OpenBSD: unistd.h,v 1.103 2016/09/12 19:36:26 guenther Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@@ -508,11 +508,6 @@ int revoke(const char *);
int rresvport(int *);
int rresvport_af(int *, int);
int ruserok(const char *, int, const char *, const char *);
-#ifndef _SELECT_DEFINED_
-#define _SELECT_DEFINED_
-struct timeval;
-int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
-#endif
int setdomainname(const char *, size_t);
int setgroups(int, const gid_t *);
int sethostid(long);
diff --git a/lib/libc/hidden/unistd.h b/lib/libc/hidden/unistd.h
index 6eed324f9f9..bfa424fe795 100644
--- a/lib/libc/hidden/unistd.h
+++ b/lib/libc/hidden/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.9 2016/05/23 00:12:58 guenther Exp $ */
+/* $OpenBSD: unistd.h,v 1.10 2016/09/12 19:36:26 guenther Exp $ */
/*
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
*
@@ -126,7 +126,6 @@ PROTO_DEPRECATED(rresvport);
PROTO_NORMAL(rresvport_af);
PROTO_DEPRECATED(ruserok);
PROTO_DEPRECATED(sbrk);
-PROTO_CANCEL(select);
PROTO_DEPRECATED(setdomainname);
PROTO_NORMAL(setegid);
PROTO_NORMAL(seteuid);