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

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

@@ -124,25 +124,16 @@
         size_t  msgsnap_mlen;   /* number of bytes in message that follows */
         long    msgsnap_mtype;  /* message type */
 };
 
 #if !defined(_KERNEL)
-#if defined(__STDC__)
 int msgctl(int, int, struct msqid_ds *);
 int msgget(key_t, int);
 int msgids(int *, uint_t, uint_t *);
 int msgsnap(int, void *, size_t, long);
 ssize_t msgrcv(int, void *, size_t, long, int);
 int msgsnd(int, const void *, size_t, int);
-#else /* __STDC__ */
-int msgctl();
-int msgget();
-int msgids();
-int msgsnap();
-int msgrcv();
-int msgsnd();
-#endif /* __STDC__ */
 #endif /* ! _KERNEL */
 
 #ifdef  __cplusplus
 }
 #endif