Print this page
remove support for non-ANSI compilation

@@ -20,21 +20,20 @@
  * 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
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.6   */
-
 /*
  * Streams user options definitions.
  */
 
 #include <sys/feature_tests.h>

@@ -42,12 +41,10 @@
 
 #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);

@@ -63,12 +60,10 @@
  */
 extern int ioctl(int, int, ...);
 extern int fattach(int, const char *);
 extern int fdetach(const char *);
 
-#endif
-
 #ifdef  __cplusplus
 }
 #endif
 
 #endif  /* _STROPTS_H */