mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
Fix redundant redeclaration of Conn_Count*() functions
The wrongly placed #endif lead to the following compiler warnings: conn.h:125: warning: redundant redeclaration of ‘Conn_Count’ conn.h:125: warning: previous declaration of ‘Conn_Count’ was here conn.h:126: warning: redundant redeclaration of ‘Conn_CountMax’ conn.h:126: warning: previous declaration of ‘Conn_CountMax’ was here conn.h:127: warning: redundant redeclaration of ‘Conn_CountAccepted’ conn.h:127: warning: previous declaration of ‘Conn_CountAccepted’ was here
This commit is contained in:
parent
edfa215481
commit
ae55d4f500
@ -120,11 +120,12 @@ GLOBAL bool Conn_UsesSSL PARAMS((CONN_ID Idx));
|
|||||||
#else
|
#else
|
||||||
static inline bool Conn_UsesSSL(UNUSED CONN_ID Idx) { return false; }
|
static inline bool Conn_UsesSSL(UNUSED CONN_ID Idx) { return false; }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
GLOBAL long Conn_Count PARAMS((void));
|
GLOBAL long Conn_Count PARAMS((void));
|
||||||
GLOBAL long Conn_CountMax PARAMS((void));
|
GLOBAL long Conn_CountMax PARAMS((void));
|
||||||
GLOBAL long Conn_CountAccepted PARAMS((void));
|
GLOBAL long Conn_CountAccepted PARAMS((void));
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* -eof- */
|
/* -eof- */
|
||||||
|
Loading…
Reference in New Issue
Block a user