]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Move ConnSSL_InitLibrary() "dummy" from header into C file
authorFederico G. Schwindt <fgsch@lodoss.net>
Tue, 18 Sep 2012 23:34:29 +0000 (00:34 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 26 Sep 2012 22:03:56 +0000 (00:03 +0200)
(cherry picked from commit 5fd88c81a70d0c9e627f08522e57d251586288eb)

src/ngircd/conf-ssl.h
src/ngircd/conn-ssl.c

index 3fab579ca7c41983756d38dc3f968e1e2abfc2fe..428bcf45570c1ae0a8192de5b33148b7af20b1ae 100644 (file)
@@ -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 */
 
index 914d01651235ad16af2e81ebb3d9a045e1d39a37..fcf0dabb7df09780d518486d46c2112ac854db14 100644 (file)
@@ -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- */