Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Remove the compatibility select() prototype. Going ...
details: https://anonhg.NetBSD.org/src/rev/ab05fb5e689b
branches: trunk
changeset: 581056:ab05fb5e689b
user: kleink <kleink%NetBSD.org@localhost>
date: Sun May 22 19:10:15 2005 +0000
description:
Remove the compatibility select() prototype. Going back to Lite2 select(2)
has also mandated <sys/time.h> to be included, which is now sufficient
for the prototype and all related declarations; thus the local duplicate
of the prototype can be removed. Approved by Christos.
diffstat:
include/unistd.h | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diffs (23 lines):
diff -r 606f09a3e3e1 -r ab05fb5e689b include/unistd.h
--- a/include/unistd.h Sun May 22 17:41:50 2005 +0000
+++ b/include/unistd.h Sun May 22 19:10:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.102 2005/03/05 19:48:38 kleink Exp $ */
+/* $NetBSD: unistd.h,v 1.103 2005/05/22 19:10:15 kleink Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -279,13 +279,6 @@
#ifndef __AUDIT__
char *getwd(char *); /* obsoleted by getcwd() */
#endif
-
-/* This must be consistent with <sys/select.h>; for compatibility only. */
-#if __STDC__
-struct timeval; /* select(2) XXX */
-#endif
-int select(int, fd_set * __restrict, fd_set * __restrict,
- fd_set * __restrict, struct timeval * __restrict);
#endif /* _XOPEN_SOURCE_EXTENDED || _XOPEN_SOURCE >= 500 || _NETBSD_SOURCE */
Home |
Main Index |
Thread Index |
Old Index