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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/perf.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:
45
45
int _debug_on = 0;
46
46
#define DPRINTF(arg) if (_debug_on) printf arg
47
47
 
48
 
#ifdef XP_MAC
49
 
#include "prlog.h"
50
 
#include "prsem.h"
51
 
#define printf PR_LogPrint
52
 
extern void SetupMacPrintfLog(char *logFile);
53
 
#else
54
48
#include "obsolete/prsem.h"
55
 
#endif
56
49
 
57
50
PRLock *lock;
58
51
PRMonitor *mon;
428
421
        PR_UnblockClockInterrupts();
429
422
    PR_STDIO_INIT();
430
423
 
431
 
#ifdef XP_MAC
432
 
    SetupMacPrintfLog("perf.log");
433
 
#endif
434
 
 
435
424
    lock = PR_NewLock();
436
425
    mon = PR_NewMonitor();
437
426
    mon2 = PR_NewMonitor();