From 7727a7ea874994d6b2ad4759fc20f59cae5822af Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Mon, 19 Aug 2013 16:00:10 +0200 Subject: snapwindow() should be static like all other functions. --- mcwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcwm.c b/mcwm.c index 0d916e5..fd7d28f 100644 --- a/mcwm.c +++ b/mcwm.c @@ -347,7 +347,7 @@ static void moveresize(xcb_drawable_t win, uint16_t x, uint16_t y, uint16_t width, uint16_t height); static void resize(xcb_drawable_t win, uint16_t width, uint16_t height); static void resizestep(struct client *client, char direction); -void snapwindow(struct client *client, int snap_mode); +static void snapwindow(struct client *client, int snap_mode); static void mousemove(struct client *client, int rel_x, int rel_y); static void mouseresize(struct client *client, int rel_x, int rel_y); static void movestep(struct client *client, char direction); @@ -2369,7 +2369,7 @@ void resizestep(struct client *client, char direction) /* * Try to snap to other windows and monitor border */ -void snapwindow(struct client *client, int snap_mode) +static void snapwindow(struct client *client, int snap_mode) { struct item *item; struct client *win; -- cgit v1.2.3