зеркало из https://github.com/mozilla/gecko-dev.git
Code cleanup.
This commit is contained in:
Родитель
0bbafa3b0b
Коммит
a7122489b6
|
@ -38,7 +38,6 @@
|
|||
***********************************************************************/
|
||||
/* Used to get the command line option */
|
||||
#include "plgetopt.h"
|
||||
#include "prttools.h"
|
||||
|
||||
#include "nspr.h"
|
||||
#include "pprthred.h"
|
||||
|
@ -48,6 +47,10 @@
|
|||
#define PORT 15004
|
||||
#define STACKSIZE 0
|
||||
|
||||
#define PASS 0
|
||||
#define FAIL 1
|
||||
static int debug_mode = 0;
|
||||
|
||||
static int _iterations = 1000;
|
||||
static int _clients = 1;
|
||||
static int _client_data = 250;
|
||||
|
@ -101,9 +104,6 @@ static Test_Result (int result)
|
|||
case FAIL:
|
||||
printf ("FAIL\n");
|
||||
break;
|
||||
case NOSTATUS:
|
||||
printf ("NOSTATUS\n");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -599,8 +599,6 @@ main(int argc, char **argv)
|
|||
PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
|
||||
PR_STDIO_INIT();
|
||||
|
||||
PR_SetThreadRecycleMode(64);
|
||||
|
||||
ServerStateCVLock = PR_NewLock();
|
||||
ServerStateCV = PR_NewCondVar(ServerStateCVLock);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче