summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2008-04-04 19:30:01 +0000
committerFlorian Westphal <fw@strlen.de>2008-04-04 23:22:06 +0200
commitbe844d74d3a08716de7e8f2c866166ca00fba879 (patch)
treebb25144efcb1ce5833ab845f385f73d2b4e3abe5 /src
parent637d739285b814e73a818fb21addd5775910b752 (diff)
downloadngircd-be844d74d3a08716de7e8f2c866166ca00fba879.tar.gz
ngircd-be844d74d3a08716de7e8f2c866166ca00fba879.zip
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?
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/client.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index c7d6427f..24b24c78 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -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 )
 {