diff options
author | okan | 2012-12-17 14:58:46 +0000 |
---|---|---|
committer | okan | 2012-12-17 14:58:46 +0000 |
commit | c69d019777780018c85d66208a69dae5f2e015a4 (patch) | |
tree | 01053026d6dd5235d30237ab7054cc788f331a24 | |
parent | c41d09cb1ce845c96079c6bc1e204e62caf32b95 (diff) | |
download | cwm-c69d019777780018c85d66208a69dae5f2e015a4.tar.gz |
make client_mtf static
-rw-r--r-- | calmwm.h | 3 | ||||
-rw-r--r-- | client.c | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -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: calmwm.h,v 1.167 2012/12/17 14:32:39 okan Exp $ + * $OpenBSD: calmwm.h,v 1.168 2012/12/17 14:58:46 okan Exp $ */ #ifndef _CALMWM_H_ @@ -331,7 +331,6 @@ void client_lower(struct client_ctx *); void client_map(struct client_ctx *); void client_maximize(struct client_ctx *); void client_move(struct client_ctx *); -void client_mtf(struct client_ctx *); struct client_ctx *client_new(Window, struct screen_ctx *, int); void client_ptrsave(struct client_ctx *); void client_ptrwarp(struct client_ctx *); @@ -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 <sys/param.h> @@ -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); } |