Module: ngircd.git Branch: master Commit: 1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=1a2bd...
Author: Federico G. Schwindt fgsch@lodoss.net Date: Wed Sep 19 00:34:29 2012 +0100
Move ConnSSL_InitLibrary() "dummy" from header into C file
(cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb)
---
src/ngircd/conf-ssl.h | 10 +++------- src/ngircd/conn-ssl.c | 7 +++++++ 2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index 3fab579..428bcf4 100644 --- a/src/ngircd/conf-ssl.h +++ b/src/ngircd/conf-ssl.h @@ -39,13 +39,9 @@ struct ConnSSL_State { #endif };
-bool -ConnSSL_InitLibrary(void); -#else -static inline bool -ConnSSL_InitLibrary(void) -{ return true; } -#endif /* SSL_SUPPORT */ +#endif + +bool ConnSSL_InitLibrary(void);
#endif /* conf_ssl_h */
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index 914d016..fcf0dab 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -723,6 +723,13 @@ ConnSSL_GetCipherInfo(CONNECTION *c, char *buf, size_t len) #endif }
+#else + +bool +ConnSSL_InitLibrary(void) +{ + return true; +}
#endif /* SSL_SUPPORT */ /* -eof- */
ngircd-commits@lists.barton.de