summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-10-28 01:12:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-10-28 01:12:09 +0000
commit39fc0f5ea15a38cc22b7d53975584c5a79508148 (patch)
tree57a7a787403b2a81418db72733f4c5c320426234 /src
parentba52d084d62a11804759fb5dfebeb67fe534df99 (diff)
downloadirssi-39fc0f5ea15a38cc22b7d53975584c5a79508148.zip
compiling fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/network-openssl.c6
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;