1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

compiling fix

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-10-28 01:12:09 +00:00 committed by cras
parent ba52d084d6
commit 39fc0f5ea1

View File

@ -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;