about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2006-03-10 20:25:29 +0000
committerFlorian Westphal <fw@strlen.de>2006-03-10 20:25:29 +0000
commit7e8ac0afcf2aa8c736018c32d84f70273a549029 (patch)
tree1bd313f1157876374c6b6518bb9ff12c77666697
parent93df629b695ed6a60a3bb9e259cb7747c161ce90 (diff)
downloadngircd-7e8ac0afcf2aa8c736018c32d84f70273a549029.tar.gz
ngircd-7e8ac0afcf2aa8c736018c32d84f70273a549029.zip
Client_New() not used outside client.c -> static
-rw-r--r--src/ngircd/client.c4
-rw-r--r--src/ngircd/client.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index 84715813..ca50d37c 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.85 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: client.c,v 1.86 2006/03/10 20:25:29 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -159,7 +159,7 @@ Client_NewRemoteUser( CLIENT *Introducer, char *Nick, int Hops, char *User, char
 } /* Client_NewRemoteUser */
 
 
-GLOBAL CLIENT *
+static CLIENT *
 Client_New( CONN_ID Idx, CLIENT *Introducer, CLIENT *TopServer, int Type, char *ID, char *User, char *Hostname, char *Info, int Hops, int Token, char *Modes, bool Idented )
 {
 	CLIENT *client;
diff --git a/src/ngircd/client.h b/src/ngircd/client.h
index 5ae189d4..fea3bfc9 100644
--- a/src/ngircd/client.h
+++ b/src/ngircd/client.h
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: client.h,v 1.39 2005/06/12 16:18:49 alex Exp $
+ * $Id: client.h,v 1.40 2006/03/10 20:25:29 fw Exp $
  *
  * Client management (header)
  */
@@ -78,7 +78,7 @@ GLOBAL void Client_Exit PARAMS(( void ));
 GLOBAL CLIENT *Client_NewLocal PARAMS(( CONN_ID Idx, char *Hostname, int Type, bool Idented ));
 GLOBAL CLIENT *Client_NewRemoteServer PARAMS(( CLIENT *Introducer, char *Hostname, CLIENT *TopServer, int Hops, int Token, char *Info, bool Idented ));
 GLOBAL CLIENT *Client_NewRemoteUser PARAMS(( CLIENT *Introducer, char *Nick, int Hops, char *User, char *Hostname, int Token, char *Modes, char *Info, bool Idented ));
-GLOBAL CLIENT *Client_New PARAMS(( CONN_ID Idx, CLIENT *Introducer, CLIENT *TopServer, int Type, char *ID, char *User, char *Hostname, char *Info, int Hops, int Token, char *Modes, bool Idented ));
+static CLIENT *Client_New PARAMS(( CONN_ID Idx, CLIENT *Introducer, CLIENT *TopServer, int Type, char *ID, char *User, char *Hostname, char *Info, int Hops, int Token, char *Modes, bool Idented ));
 
 GLOBAL void Client_Destroy PARAMS(( CLIENT *Client, char *LogMsg, char *FwdMsg, bool SendQuit ));
 #ifdef CONN_MODULE