diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/network-openssl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index ab498c9c..c88b5050 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -51,8 +51,10 @@ static void irssi_ssl_free(GIOChannel *handle) #ifdef G_CAN_INLINE G_INLINE_FUNC +#else +static #endif -static GIOError ssl_errno(gint e) +GIOError ssl_errno(gint e) { switch(e) { @@ -118,7 +120,7 @@ static GIOError irssi_ssl_read(GIOChannel *handle, gchar *buf, guint len, guint return -1; } -static GIOError irssi_ssl_write(GIOChannel *handle, const gchar *buf, guint len, guint *ret) +static GIOError irssi_ssl_write(GIOChannel *handle, gchar *buf, guint len, guint *ret) { GIOSSLChannel *chan = (GIOSSLChannel *)handle; gint err; |