From: Vadim Zeitlin Date: Mon, 26 Jul 2004 21:35:32 +0000 (+0000) Subject: removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/17d3ce7eff96fd24cd93501dfe2b9d625904976e?hp=f7aa74771682123e709f9877b0ff6dfdc1fc099c removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index 3301e79511..de0791b0c4 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -287,9 +287,6 @@ GSocketError GSocket_GetSockOpt(GSocket *socket, int level, int optname, GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname, const void *optval, int optlen); -void GSocket_Streamed(GSocket *socket); -void GSocket_Unstreamed(GSocket *socket); - /* Attributes */ /* GSocket_SetNonBlocking: diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index a4c56eda60..fd8824ce95 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -1156,16 +1156,6 @@ GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname, return GSOCK_OPTERR; } -void GSocket_Streamed(GSocket *socket) -{ - socket->m_stream = TRUE; -} - -void GSocket_Unstreamed(GSocket *socket) -{ - socket->m_stream = FALSE; -} - #define CALL_CALLBACK(socket, event) { \ _GSocket_Disable(socket, event); \ if (socket->m_cbacks[event]) \