From c69d019777780018c85d66208a69dae5f2e015a4 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 17 Dec 2012 14:58:46 +0000 Subject: make client_mtf static --- client.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index d48ace8..f7faed3 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.104 2012/12/17 14:26:29 okan Exp $ + * $OpenBSD: client.c,v 1.105 2012/12/17 14:58:46 okan Exp $ */ #include @@ -33,6 +33,7 @@ static struct client_ctx *client_mrunext(struct client_ctx *); static struct client_ctx *client_mruprev(struct client_ctx *); +static void client_mtf(struct client_ctx *); static void client_none(struct screen_ctx *); static void client_placecalc(struct client_ctx *); static void client_update(struct client_ctx *); @@ -731,7 +732,7 @@ client_placecalc(struct client_ctx *cc) } } -void +static void client_mtf(struct client_ctx *cc) { struct screen_ctx *sc; @@ -742,8 +743,6 @@ client_mtf(struct client_ctx *cc) return; sc = cc->sc; - - /* Move to front. */ TAILQ_REMOVE(&sc->mruq, cc, mru_entry); TAILQ_INSERT_HEAD(&sc->mruq, cc, mru_entry); } -- cgit v1.2.3-2-gb3c3