~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/suspend.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#include "prpriv.h"
49
49
#include "prinrval.h"
50
50
 
51
 
#if defined(XP_MAC)
52
 
#include "gcint.h"
53
 
#endif
54
 
 
55
51
#include <stdio.h>
56
52
#include <stdlib.h>
57
53
#include <string.h>
58
54
 
59
 
#ifdef XP_MAC
60
 
#include "gcint.h"
61
 
#include "prlog.h"
62
 
#define printf PR_LogPrint
63
 
extern void SetupMacPrintfLog(char *logFile);
64
 
#endif
65
 
 
66
55
PRMonitor *mon;
67
56
PRInt32 count;
68
57
PRInt32 alive;
196
185
}
197
186
 
198
187
 
199
 
void
200
 
main(int argc, char **argv)
 
188
int main(int argc, char **argv)
201
189
{
202
190
    PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
203
191
    PR_STDIO_INIT();
204
192
 
205
 
#ifdef XP_MAC
206
 
    SetupMacPrintfLog("suspend.log");
207
 
#endif
208
 
 
209
193
    if (argc > 1) {
210
194
        count = atoi(argv[1]);
211
195
    } else {