Print this page
remove support for non-ANSI compilation

*** 20,40 **** * CDDL HEADER END */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ - /* * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _STROPTS_H #define _STROPTS_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.6 */ - /* * Streams user options definitions. */ #include <sys/feature_tests.h> --- 20,39 ---- * CDDL HEADER END */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _STROPTS_H #define _STROPTS_H /* * Streams user options definitions. */ #include <sys/feature_tests.h>
*** 42,53 **** #ifdef __cplusplus extern "C" { #endif - #if defined(__STDC__) - extern int isastream(int); extern int getmsg(int, struct strbuf *_RESTRICT_KYWD, struct strbuf *_RESTRICT_KYWD, int *_RESTRICT_KYWD); extern int putmsg(int, const struct strbuf *, const struct strbuf *, int); --- 41,50 ----
*** 63,74 **** */ extern int ioctl(int, int, ...); extern int fattach(int, const char *); extern int fdetach(const char *); - #endif - #ifdef __cplusplus } #endif #endif /* _STROPTS_H */ --- 60,69 ----