summaryrefslogtreecommitdiff
path: root/pr/tests/nonblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/nonblock.c')
-rw-r--r--pr/tests/nonblock.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/pr/tests/nonblock.c b/pr/tests/nonblock.c
index 29376189..bacb1ceb 100644
--- a/pr/tests/nonblock.c
+++ b/pr/tests/nonblock.c
@@ -42,11 +42,7 @@
#include "prprf.h"
#include "prnetdb.h"
#include "plerror.h"
-#ifndef XP_MAC
#include "obsolete/probslet.h"
-#else
-#include "probslet.h"
-#endif
#include <stdio.h>
#include <string.h>
@@ -72,16 +68,6 @@
#include "pprio.h"
#endif
-#ifdef XP_MAC
-int fprintf(FILE *stream, const char *fmt, ...)
-{
-PR_LogPrint(fmt);
-return 0;
-}
-#define printf PR_LogPrint
-extern void SetupMacPrintfLog(char *logFile);
-#endif
-
static void PR_CALLBACK
clientThreadFunc(void *arg)
{
@@ -165,10 +151,6 @@ static PRIntn PR_CALLBACK RealMain( PRIntn argc, char **argv )
PRIntn i;
PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
-#ifdef XP_MAC
- SetupMacPrintfLog("nonblock.log");
-#endif
-
/* Create a listening socket */
if ((listenSock = PR_NewTCPSocket()) == NULL) {
fprintf(stderr, "Can't create a new TCP socket\n");