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 1997-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_SEM_H #define _SYS_SEM_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/ipc.h> #ifdef __cplusplus extern "C" { #endif --- 31,40 ----
*** 101,125 **** short sem_op; /* semaphore operation */ short sem_flg; /* operation flags */ }; #if !defined(_KERNEL) - #if defined(__STDC__) int semctl(int, int, int, ...); int semget(key_t, int, int); int semids(int *, uint_t, uint_t *); int semop(int, struct sembuf *, size_t); #if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) int semtimedop(int, struct sembuf *, size_t, const struct timespec *); #endif - #else /* __STDC__ */ - int semctl(); - int semget(); - int semids(); - int semop(); - int semtimedop(); - #endif /* __STDC__ */ #endif /* ! _KERNEL */ #ifdef __cplusplus } #endif --- 101,117 ----