client: Remove client_pertag function
This commit is contained in:
parent
0965e049d1
commit
da0265a34c
18
src/client.c
18
src/client.c
@ -32,24 +32,6 @@
|
||||
|
||||
#include "wmfs.h"
|
||||
|
||||
/** Calcule how many of client there are
|
||||
* Per tag
|
||||
* \param tag Tag number
|
||||
* \return Number of client
|
||||
*/
|
||||
int
|
||||
client_pertag(int tag)
|
||||
{
|
||||
Client *c;
|
||||
int i = 0;
|
||||
|
||||
for(c = clients; c; c = c->next)
|
||||
if(c->tag == tag)
|
||||
++i;
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
/** Attach client in the client chain
|
||||
* \param c Client pointer
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user