From: Reginald Kennedy Date: Mon, 29 Apr 2013 17:45:12 +0000 (+0800) Subject: Change global variable to local. X-Git-Url: https://jasonwoof.com/gitweb/?p=spectrwm.git;a=commitdiff_plain;h=519aa00149f17f00cc7067c2b957e3639b8411f5 Change global variable to local. --- diff --git a/spectrwm.c b/spectrwm.c index 5bf74b1..93b4244 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1989,12 +1989,12 @@ bar_window_name(char *s, size_t sz, struct swm_region *r) free(title); } -int urgent[SWM_WS_MAX]; void bar_urgent(char *s, size_t sz) { struct ws_win *win; int i, j, num_screens; + int urgent[SWM_WS_MAX]; char b[8]; xcb_get_property_cookie_t c; xcb_icccm_wm_hints_t hints;