Declare fd_recv early at the top of socket.c

This commit is contained in:
Alexander Butenko 2009-12-21 23:22:04 +01:00 committed by Christian Dywan
parent d0e72f5d33
commit 613979a579

View file

@ -142,6 +142,11 @@ GSourceFuncs sock_watch_funcs = {
NULL NULL
}; };
gint fd_recv (gint fd,
gchar *buf,
gint len,
gint flags);
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
static SockInfo *sock_find_from_fd (gint fd); static SockInfo *sock_find_from_fd (gint fd);
#endif #endif