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.
  */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */

@@ -33,12 +35,10 @@
  */
 
 #ifndef _SYS_SHM_H
 #define _SYS_SHM_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/ipc.h>
 
 #ifdef  __cplusplus
 extern "C" {
 #endif

@@ -119,27 +119,19 @@
  */
 #define SHM_LOCK        3       /* Lock segment in core */
 #define SHM_UNLOCK      4       /* Unlock segment */
 
 #if !defined(_KERNEL)
-#if defined(__STDC__)
 int shmget(key_t, size_t, int);
 int shmids(int *, uint_t, uint_t *);
 int shmctl(int, int, struct shmid_ds *);
 void *shmat(int, const void *, int);
 #if defined(_XPG4)
 int shmdt(const void *);
 #else
 int shmdt(char *);
 #endif /* defined(_XPG4) */
-#else /* __STDC__ */
-int shmctl();
-int shmget();
-int shmids();
-void *shmat();
-int shmdt();
-#endif /* __STDC__ */
 #endif /* !defined(_KERNEL) */
 
 #ifdef  __cplusplus
 }
 #endif