Fix client.c sparse warnings.

client.c:72:6: warning: symbol 'Max_Users' was not declared. Should it be static?
client.c:72:21: warning: symbol 'My_Max_Users' was not declared. Should it be static?
This commit is contained in:
Florian Westphal 2008-04-04 19:30:01 +00:00
parent 637d739285
commit be844d74d3
1 changed files with 2 additions and 4 deletions

View File

@ -17,7 +17,7 @@
#include "portab.h"
static char UNUSED id[] = "$Id: client.c,v 1.97 2007/11/21 12:16:36 alex Exp $";
static char UNUSED id[] = "$Id: client.c,v 1.98 2008/04/04 19:30:01 fw Exp $";
#include "imp.h"
#include <assert.h>
@ -55,6 +55,7 @@ static char GetID_Buffer[GETID_LEN];
static WHOWAS My_Whowas[MAX_WHOWAS];
static int Last_Whowas = -1;
static long Max_Users, My_Max_Users;
static unsigned long Count PARAMS(( CLIENT_TYPE Type ));
@ -69,9 +70,6 @@ static CLIENT *Init_New_Client PARAMS((CONN_ID Idx, CLIENT *Introducer,
char *Info, int Hops, int Token, char *Modes, bool Idented));
long Max_Users = 0, My_Max_Users = 0;
GLOBAL void
Client_Init( void )
{