-/* $OpenBSD: sys_pipe.c,v 1.53 2007/11/28 15:19:43 miod Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.54 2008/07/11 14:12:57 blambert Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
void pipeclose(struct pipe *);
void pipe_free_kmem(struct pipe *);
int pipe_create(struct pipe *);
-static __inline int pipelock(struct pipe *);
-static __inline void pipeunlock(struct pipe *);
-static __inline void pipeselwakeup(struct pipe *);
+int pipelock(struct pipe *);
+void pipeunlock(struct pipe *);
+void pipeselwakeup(struct pipe *);
int pipespace(struct pipe *, u_int);
/*
/*
* lock a pipe for I/O, blocking other access
*/
-static __inline int
+int
pipelock(struct pipe *cpipe)
{
int error;
/*
* unlock a pipe I/O lock
*/
-static __inline void
+void
pipeunlock(struct pipe *cpipe)
{
cpipe->pipe_state &= ~PIPE_LOCK;
}
}
-static __inline void
+void
pipeselwakeup(struct pipe *cpipe)
{
if (cpipe->pipe_state & PIPE_SEL) {