diff options
Diffstat (limited to 'usr/src/uts/common/syscall/poll.c')
-rw-r--r-- | usr/src/uts/common/syscall/poll.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/usr/src/uts/common/syscall/poll.c b/usr/src/uts/common/syscall/poll.c index bed14f800a..dfcbb6dc9f 100644 --- a/usr/src/uts/common/syscall/poll.c +++ b/usr/src/uts/common/syscall/poll.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -618,28 +618,6 @@ pollout: } /* - * This system call trap exists solely for binary compatibility with - * old statically-linked applications. It is not called from libc. - * It should be removed in the next release. - */ -int -poll(pollfd_t *fds, nfds_t nfds, int time_out) -{ - timespec_t ts; - timespec_t *tsp; - - if (time_out < 0) - tsp = NULL; - else { - ts.tv_sec = time_out / MILLISEC; - ts.tv_nsec = (time_out % MILLISEC) * MICROSEC; - tsp = &ts; - } - - return (poll_common(fds, nfds, tsp, NULL)); -} - -/* * This is the system call trap that poll(), * select() and pselect() are built upon. * It is a private interface between libc and the kernel. |