made destroy_tag static

This commit is contained in:
Anselm R. Garbe 2006-03-15 16:08:22 +01:00
parent 2851ce5b02
commit 4952030390
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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);