From 39fc0f5ea15a38cc22b7d53975584c5a79508148 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 28 Oct 2002 01:12:09 +0000 Subject: compiling fix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network-openssl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3