Declare fd_recv early at the top of socket.c
This commit is contained in:
parent
d0e72f5d33
commit
613979a579
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue