diff options
author | okan <okan> | 2012-12-17 14:58:46 +0000 |
---|---|---|
committer | okan <okan> | 2012-12-17 14:58:46 +0000 |
commit | 8e67d1389ceb0450712039832e5ff868335c6846 (patch) | |
tree | 87a8c6611e6b2feb5f50fc7d0216007b9e492c5a /client.c | |
parent | 3a3e0383b2b605ede516f4f58eef778bea7815e4 (diff) | |
download | cwm-8e67d1389ceb0450712039832e5ff868335c6846.tar.gz cwm-8e67d1389ceb0450712039832e5ff868335c6846.tar.xz cwm-8e67d1389ceb0450712039832e5ff868335c6846.zip |
make client_mtf static
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client.c b/client.c index 8824f1c..3dd6c70 100644 --- a/client.c +++ b/client.c @@ -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); } |