The SocketPollFD functions are moved from public header(prio.h) to private
authorwtc%netscape.com
Thu, 01 Apr 1999 05:12:35 +0000
changeset 528 dd0142e1891e9f172c7afa2b7524737042cd1ced
parent 527 ef0b6c1494cf0348d698124debd675c83e934136
child 529 58a985b72241908ed886af03b80016ab84f0af44
push idunknown
push userunknown
push dateunknown
The SocketPollFD functions are moved from public header(prio.h) to private header (pprio.h). The PRDescType is set to 0.
pr/src/io/prsocket.c
pr/src/pthreads/ptio.c
--- a/pr/src/io/prsocket.c
+++ b/pr/src/io/prsocket.c
@@ -1117,17 +1117,17 @@ static PRIOMethods udpMethods = {
 	SocketGetSockOpt,
 	SocketSetSockOpt,
 	_PR_SocketGetSocketOption,
 	_PR_SocketSetSocketOption
 };
 
 
 static PRIOMethods socketpollfdMethods = {
-    PR_DESC_SOCKET_POLL,
+    (PRDescType) 0,
     (PRCloseFN)_PR_InvalidStatus,
     (PRReadFN)_PR_InvalidInt,
     (PRWriteFN)_PR_InvalidInt,
     (PRAvailableFN)_PR_InvalidInt,
     (PRAvailable64FN)_PR_InvalidInt64,
     (PRFsyncFN)_PR_InvalidStatus,
     (PRSeekFN)_PR_InvalidInt,
     (PRSeek64FN)_PR_InvalidInt64,
--- a/pr/src/pthreads/ptio.c
+++ b/pr/src/pthreads/ptio.c
@@ -2736,17 +2736,17 @@ static PRIOMethods _pr_udp_methods = {
     pt_GetSockOpt,
     pt_SetSockOpt,
     pt_GetSocketOption,
     pt_SetSocketOption
 };
 
 
 static PRIOMethods _pr_socketpollfd_methods = {
-    PR_DESC_SOCKET_POLL,
+    (PRDescType) 0,
     (PRCloseFN)_PR_InvalidStatus,
     (PRReadFN)_PR_InvalidInt,
     (PRWriteFN)_PR_InvalidInt,
     (PRAvailableFN)_PR_InvalidInt,
     (PRAvailable64FN)_PR_InvalidInt64,
     (PRFsyncFN)_PR_InvalidStatus,
     (PRSeekFN)_PR_InvalidInt,
     (PRSeek64FN)_PR_InvalidInt64,