make client_mtf static

This commit is contained in:
okan 2012-12-17 14:58:46 +00:00
parent 3a3e0383b2
commit 8e67d1389c
2 changed files with 2 additions and 4 deletions

View File

@ -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 *);

View File

@ -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);
}