summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/sem.h')
-rw-r--r--usr/src/uts/common/sys/sem.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr/src/uts/common/sys/sem.h b/usr/src/uts/common/sys/sem.h
index f776d1f3e7..302eb2e1bf 100644
--- a/usr/src/uts/common/sys/sem.h
+++ b/usr/src/uts/common/sys/sem.h
@@ -20,6 +20,8 @@
* 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.
*/
@@ -31,8 +33,6 @@
#ifndef _SYS_SEM_H
#define _SYS_SEM_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/ipc.h>
#ifdef __cplusplus
@@ -103,7 +103,6 @@ struct sembuf {
};
#if !defined(_KERNEL)
-#if defined(__STDC__)
int semctl(int, int, int, ...);
int semget(key_t, int, int);
int semids(int *, uint_t, uint_t *);
@@ -111,13 +110,6 @@ 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