wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 4952030390aac9d2b8b8a7c1e76d45c2c8c2fb5c
parent 2851ce5b029b2ac9387000fddff4c4b6a3644d69
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Wed, 15 Mar 2006 16:08:22 +0100

made destroy_tag static


Diffstat:
cmd/wm/tag.c | 9+--------
cmd/wm/wm.h | 1-
2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/cmd/wm/tag.c b/cmd/wm/tag.c @@ -36,15 +36,9 @@ alloc_tag(char *name) return t; } -char * +static void destroy_tag(Tag *t) { - unsigned int i; - - for(i = 0; i < t->narea; i++) - if(t->area[i]->nframe) - return "tag not empty"; - while(t->narea) destroy_area(t->area[0]); @@ -54,7 +48,6 @@ destroy_tag(Tag *t) sel = 0; free(t); - return nil; } int diff --git a/cmd/wm/wm.h b/cmd/wm/wm.h @@ -296,7 +296,6 @@ void match_tags(Client *c); /* tag.c */ Tag *alloc_tag(char *name); -char *destroy_tag(Tag *t); void focus_tag(Tag *t); XRectangle *rectangles(Tag *t, Bool isfloat, unsigned int *num); int tid2index(unsigned short id);