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 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,44 **** */ #ifndef _SYS_SHM_H #define _SYS_SHM_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/ipc.h> #ifdef __cplusplus extern "C" { #endif --- 35,44 ----
*** 119,145 **** */ #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 --- 119,137 ----