diff options
author | okan <okan> | 2009-06-26 12:21:58 +0000 |
---|---|---|
committer | okan <okan> | 2009-06-26 12:21:58 +0000 |
commit | f44862be9c4d3332d3f9ee9760e7014814eaeeb3 (patch) | |
tree | e4f8b3c240f5bfe6b496f10fd61cec1cc6b98954 /menu.c | |
parent | b13d592c572bde4a2b2039e7ef30e501ac97a21a (diff) | |
download | cwm-f44862be9c4d3332d3f9ee9760e7014814eaeeb3.tar.gz cwm-f44862be9c4d3332d3f9ee9760e7014814eaeeb3.tar.xz cwm-f44862be9c4d3332d3f9ee9760e7014814eaeeb3.zip |
static local functions and data; almost identical diff from Thomas Pfaff
ok oga@
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c index ea4a24f..477016e 100644 --- a/menu.c +++ b/menu.c @@ -43,7 +43,7 @@ static struct menu *menu_handle_key(XEvent *, struct menu_ctx *, struct menu_q *, struct menu_q *); static void menu_handle_move(XEvent *, struct menu_ctx *, struct screen_ctx *); -struct menu *menu_handle_release(XEvent *, struct menu_ctx *, +static struct menu *menu_handle_release(XEvent *, struct menu_ctx *, struct screen_ctx *, struct menu_q *); static void menu_draw(struct screen_ctx *, struct menu_ctx *, struct menu_q *, struct menu_q *); @@ -349,7 +349,7 @@ menu_draw(struct screen_ctx *sc, struct menu_ctx *mc, struct menu_q *menuq, 0, 0, mc->width, font_height()); } -void +static void menu_handle_move(XEvent *e, struct menu_ctx *mc, struct screen_ctx *sc) { mc->prev = mc->entry; @@ -366,7 +366,7 @@ menu_handle_move(XEvent *e, struct menu_ctx *mc, struct screen_ctx *sc) xu_ptr_regrab(MenuGrabMask, Cursor_default); } -struct menu * +static struct menu * menu_handle_release(XEvent *e, struct menu_ctx *mc, struct screen_ctx *sc, struct menu_q *resultq) { |