Print this page
remove support for non-ANSI compilation

*** 22,40 **** /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright (c) 1995, 1998 by Sun Microsystems, Inc. * All rights reserved. */ #ifndef _SYS_POLL_H #define _SYS_POLL_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.9 */ - #ifdef __cplusplus extern "C" { #endif /* --- 22,40 ---- /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright (c) 1995, 1998 by Sun Microsystems, Inc. * All rights reserved. */ #ifndef _SYS_POLL_H #define _SYS_POLL_H #ifdef __cplusplus extern "C" { #endif /*
*** 136,150 **** #endif /* defined(_KERNEL) */ #endif /* defined(_KERNEL) || defined(_KMEMUSER) */ #if !defined(_KERNEL) - #if defined(__STDC__) int poll(struct pollfd *, nfds_t, int); - #else - int poll(); - #endif /* __STDC__ */ #endif /* !_KERNEL */ #ifdef __cplusplus } #endif --- 136,146 ----