Print this page
remove support for non-ANSI compilation

@@ -18,10 +18,12 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*

@@ -29,12 +31,10 @@
  */
 
 #ifndef _WORDEXP_H
 #define _WORDEXP_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/feature_tests.h>
 #include <sys/types.h>
 
 #ifdef  __cplusplus
 extern "C" {

@@ -68,17 +68,12 @@
 #define WRDE_CMDSUB     (5)             /* prohibited $() */
 #define WRDE_NOSPACE    (6)             /* no memory */
 #define WRDE_SYNTAX     (7)             /* bad syntax */
 #define WRDE_NOSYS      (8)             /* function not supported (XPG4) */
 
-#ifdef __STDC__
 extern int wordexp(const char *_RESTRICT_KYWD, wordexp_t *_RESTRICT_KYWD, int);
 extern void wordfree(wordexp_t *);
-#else
-extern int wordexp();
-extern void wordfree();
-#endif
 
 #ifdef  __cplusplus
 }
 #endif