Print this page
remove support for non-ANSI compilation
*** 17,35 ****
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ifndef _SYS_LOCK_H
#define _SYS_LOCK_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.7 */
-
#ifdef __cplusplus
extern "C" {
#endif
/*
--- 17,36 ----
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+ /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ */
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ifndef _SYS_LOCK_H
#define _SYS_LOCK_H
#ifdef __cplusplus
extern "C" {
#endif
/*
*** 42,64 ****
#ifdef _KERNEL
#define MEMLOCK 8
- #if defined(__STDC__)
int punlock(void);
- #else
- int punlock();
- #endif /* __STDC__ */
#else
- #if defined(__STDC__)
int plock(int);
- #else
- int plock();
- #endif /* __STDC__ */
#endif /* _KERNEL */
#ifdef __cplusplus
}
--- 43,57 ----