summaryrefslogtreecommitdiff
path: root/pr/include/md/_os2.h
diff options
context:
space:
mode:
Diffstat (limited to 'pr/include/md/_os2.h')
-rw-r--r--pr/include/md/_os2.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pr/include/md/_os2.h b/pr/include/md/_os2.h
index 330b2912..414663b0 100644
--- a/pr/include/md/_os2.h
+++ b/pr/include/md/_os2.h
@@ -65,7 +65,7 @@ struct _MDSemaphore {
struct _MDCPU {
int unused;
-};
+};
struct _MDThread {
HEV blocked_sema; /* Threads block on this when waiting
@@ -212,7 +212,7 @@ extern PRInt32 _MD_CloseFile(PRInt32 osfd);
#define _MD_GET_SOCKET_ERROR() sock_errno()
#ifndef INADDR_LOOPBACK /* For some reason this is not defined in OS2 tcpip */
/* #define INADDR_LOOPBACK INADDR_ANY */
-#endif
+#endif
#define _MD_INIT_FILEDESC(fd)
extern void _MD_MakeNonblock(PRFileDesc *f);
@@ -324,8 +324,8 @@ extern PRInt32 _MD_Accept(PRFileDesc *fd, PRNetAddr *raddr, PRUint32 *rlen,
/* XXXMB- the IOQ stuff is certainly not working correctly yet. */
/* extern struct _MDLock _pr_ioq_lock; */
-#define _MD_IOQ_LOCK()
-#define _MD_IOQ_UNLOCK()
+#define _MD_IOQ_LOCK()
+#define _MD_IOQ_UNLOCK()
/* --- Initialization stuff --- */
@@ -357,7 +357,7 @@ extern PRStatus _PR_DetachOS2Process(struct PRProcess *process);
/* --- Wait for a child process to terminate --- */
#define _MD_WAIT_PROCESS _PR_WaitOS2Process
-extern PRStatus _PR_WaitOS2Process(struct PRProcess *process,
+extern PRStatus _PR_WaitOS2Process(struct PRProcess *process,
PRInt32 *exitCode);
#define _MD_KILL_PROCESS _PR_KillOS2Process
@@ -498,7 +498,7 @@ extern APIRET (* APIENTRY QueryThreadContext)(TID, ULONG, PCONTEXTRECORD);
*/
#define FreeLibrary(x) DosFreeModule((HMODULE)x)
#define OutputDebugStringA(x)
-
+
extern int _MD_os2_get_nonblocking_connect_error(int osfd);
#endif /* nspr_os2_defs_h___ */