From 3cadba956f9d2dfbc7a757bf4899d54992342775 Mon Sep 17 00:00:00 2001 From: blambert Date: Fri, 11 Jul 2008 14:12:57 +0000 Subject: [PATCH] de-__inline a trio of functions to shave some space. ok art@ --- sys/kern/sys_pipe.c | 14 +++++++------- 1 file 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) { -- 2.20.1