summaryrefslogtreecommitdiff
path: root/lib/libpthread/include/spinlock.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /lib/libpthread/include/spinlock.h
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libpthread/include/spinlock.h')
-rw-r--r--lib/libpthread/include/spinlock.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h
index 51dc5fba4de..8c87e963de1 100644
--- a/lib/libpthread/include/spinlock.h
+++ b/lib/libpthread/include/spinlock.h
@@ -29,8 +29,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $
- * $OpenBSD: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $
+ * $Id: spinlock.h,v 1.7 2002/02/16 21:27:25 millert Exp $
+ * $OpenBSD: spinlock.h,v 1.7 2002/02/16 21:27:25 millert Exp $
*
* Lock definitions used in both libc and libpthread.
*
@@ -67,13 +67,13 @@ typedef volatile struct {
* Thread function prototype definitions:
*/
__BEGIN_DECLS
-void _spinlock __P((spinlock_t *));
-void _spinlock_debug __P((spinlock_t *, char *, int));
+void _spinlock(spinlock_t *);
+void _spinlock_debug(spinlock_t *, char *, int);
/* lock() functions return 0 if lock was acquired. */
/* is_locked functions() return 1 if lock is locked. */
-int _atomic_lock __P((volatile _spinlock_lock_t *));
-int _atomic_is_locked __P((volatile _spinlock_lock_t *));
+int _atomic_lock(volatile _spinlock_lock_t *);
+int _atomic_is_locked(volatile _spinlock_lock_t *);
__END_DECLS
#endif /* _SPINLOCK_H_ */