diff options
| author | Alexander Barton <alex@barton.de> | 2010-06-26 00:45:11 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-06-26 00:45:11 +0200 |
| commit | ae55d4f500703114cf10d07be786f1108d66b27d (patch) | |
| tree | bd0a5b65330d44383539aa4824c88c4c76276b0c /src | |
| parent | edfa2154816932ce184f9db65093711bc9957cb3 (diff) | |
| download | ngircd-ae55d4f500703114cf10d07be786f1108d66b27d.tar.gz ngircd-ae55d4f500703114cf10d07be786f1108d66b27d.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h index 1cfa4666..96d1f33b 100644 --- a/src/ngircd/conn.h +++ b/src/ngircd/conn.h @@ -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- */ |