Print this page
remove support for non-ANSI compilation

*** 18,27 **** --- 18,29 ---- * 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,40 **** #ifndef _SYS_MSG_H #define _SYS_MSG_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/ipc.h> #ifdef __cplusplus extern "C" { #endif --- 31,40 ----
*** 124,148 **** 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 --- 124,139 ----