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 1996-2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */

@@ -30,12 +32,10 @@
 
 
 #ifndef _SYS_IPC_H
 #define _SYS_IPC_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/isa_defs.h>
 #include <sys/feature_tests.h>
 #include <sys/types.h>
 
 #ifdef  __cplusplus

@@ -76,15 +76,11 @@
 #define IPC_STAT        12      /* get options */
 
 
 #if (!defined(_KERNEL) && !defined(_XOPEN_SOURCE)) || defined(_XPG4_2) || \
         defined(__EXTENSIONS__)
-#if defined(__STDC__)
 key_t ftok(const char *, int);
-#else
-key_t ftok();
-#endif /* defined(__STDC__) */
 #endif /* (!defined(_KERNEL) && !defined(_XOPEN_SOURCE))... */
 
 #ifdef  __cplusplus
 }
 #endif