commit 1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a from: Federico G. Schwindt via: Alexander Barton date: Wed Sep 26 22:03:56 2012 UTC Move ConnSSL_InitLibrary() "dummy" from header into C file (cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb) commit - 384f965fba126c4724bffb6f7e2d30d8b7fb50cb commit + 1a2bdd9e4cb31125792482b8b6d8bfcf56cd115a blob - 3fab579ca7c41983756d38dc3f968e1e2abfc2fe blob + 428bcf45570c1ae0a8192de5b33148b7af20b1ae --- src/ngircd/conf-ssl.h +++ src/ngircd/conf-ssl.h @@ -39,14 +39,10 @@ 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 */ /* -eof- */ blob - 914d01651235ad16af2e81ebb3d9a045e1d39a37 blob + fcf0dabb7df09780d518486d46c2112ac854db14 --- src/ngircd/conn-ssl.c +++ src/ngircd/conn-ssl.c @@ -723,7 +723,14 @@ ConnSSL_GetCipherInfo(CONNECTION *c, char *buf, size_t #endif } +#else +bool +ConnSSL_InitLibrary(void) +{ + return true; +} + #endif /* SSL_SUPPORT */ /* -eof- */