Print this page
remove support for non-ANSI compilation

*** 18,27 **** --- 18,29 ---- * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
*** 150,175 **** #else #define FD_ZERO(__p) (void) memset((__p), 0, sizeof (*(__p))) #endif /* _KERNEL */ #ifndef _KERNEL - #ifdef __STDC__ extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, struct timeval *_RESTRICT_KYWD); #if !defined(__XOPEN_OR_POSIX) || defined(_XPG6) || defined(__EXTENSIONS__) extern int pselect(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, const struct timespec *_RESTRICT_KYWD, const sigset_t *_RESTRICT_KYWD); #endif - #else - extern int select(); - #if !defined(__XOPEN_OR_POSIX) || defined(_XPG6) || defined(__EXTENSIONS__) - extern int pselect(); - #endif - #endif /* __STDC__ */ #endif /* _KERNEL */ #ifdef __cplusplus } #endif --- 152,170 ----