diff options
author | oga <oga> | 2009-01-11 21:46:48 +0000 |
---|---|---|
committer | oga <oga> | 2009-01-11 21:46:48 +0000 |
commit | d1050afb6001ef6134b816b21867466195153ecb (patch) | |
tree | c842d242d3dcfb4144c9594ae96926a29d76614a /group.c | |
parent | dcfae161a2a0d58ece35336c0749079fcbf77097 (diff) | |
download | cwm-d1050afb6001ef6134b816b21867466195153ecb.tar.gz cwm-d1050afb6001ef6134b816b21867466195153ecb.tar.xz cwm-d1050afb6001ef6134b816b21867466195153ecb.zip |
shortcut_to_name should not be defined as static in a header file. Put
it in group.c where it it used most, and add an extern definition for the other users of it. Found by gcc -Wall. ok okan@
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/group.c b/group.c index 2b02b66..c9300e4 100644 --- a/group.c +++ b/group.c @@ -29,6 +29,11 @@ struct group_ctx Groups[CALMWM_NGROUPS]; int Grouphideall = 0; struct group_ctx_q Groupq; +const char *shortcut_to_name[] = { + "nogroup", "one", "two", "three", "four", "five", "six", + "seven", "eight", "nine" +}; + static void _group_add(struct group_ctx *gc, struct client_ctx *cc) { |