]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn.h
Fix redundant redeclaration of Conn_Count*() functions
[ngircd-alex.git] / src / ngircd / conn.h
index f2ec823ea6ee25bed5af38149263cbd228a6a2f7..96d1f33b144cc7151e7892ed12f13fefe33a82fc 100644 (file)
@@ -107,7 +107,7 @@ GLOBAL void Conn_ExitListeners PARAMS(( void ));
 
 GLOBAL void Conn_Handler PARAMS(( void ));
 
-GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, char *Format, ... ));
+GLOBAL bool Conn_WriteStr PARAMS(( CONN_ID Idx, const char *Format, ... ));
 
 GLOBAL void Conn_Close PARAMS(( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClient ));
 
@@ -120,11 +120,12 @@ GLOBAL bool Conn_UsesSSL PARAMS((CONN_ID Idx));
 #else
 static inline bool Conn_UsesSSL(UNUSED CONN_ID Idx) { return false; }
 #endif
-#endif
 
 GLOBAL long Conn_Count PARAMS((void));
 GLOBAL long Conn_CountMax PARAMS((void));
 GLOBAL long Conn_CountAccepted PARAMS((void));
 
+#endif
+
 
 /* -eof- */