summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-07-11 14:12:58 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-07-11 14:12:58 +0000
commit4cec74f48021744bfb699dcfcd59a7d45206ca5f (patch)
tree50b006556c0ccb4fec7cf9d8007ddcdcaa82cab5 /sys
parent8cc953e39ce465c9a40cc9e8d80aab2d5ed72ae0 (diff)
de-__inline a trio of functions to shave some space.
ok art@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/sys_pipe.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 9a74beabf2d..ffd6cf150b6 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $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
@@ -90,9 +90,9 @@ struct pool pipe_pool;
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);
/*
@@ -223,7 +223,7 @@ pipe_create(struct pipe *cpipe)
/*
* lock a pipe for I/O, blocking other access
*/
-static __inline int
+int
pipelock(struct pipe *cpipe)
{
int error;
@@ -239,7 +239,7 @@ pipelock(struct pipe *cpipe)
/*
* unlock a pipe I/O lock
*/
-static __inline void
+void
pipeunlock(struct pipe *cpipe)
{
cpipe->pipe_state &= ~PIPE_LOCK;
@@ -249,7 +249,7 @@ pipeunlock(struct pipe *cpipe)
}
}
-static __inline void
+void
pipeselwakeup(struct pipe *cpipe)
{
if (cpipe->pipe_state & PIPE_SEL) {