working nspr slimmed down build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4914 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-04-11 00:57:46 +00:00
1 parent fcd2da0d39
commit f4820a6b31
13 files changed
+24 -143

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/incl
DEFINES += -D_NSPR_BUILD_
CSRCS = prmalloc.c prmem.c
CSRCS = prmem.c
include $(topsrcdir)/config/rules.mk
-19
View File
@@ -210,25 +210,6 @@ loser:
return;
}
PR_IMPLEMENT(void)
PR_FPrintZoneStats(PRFileDesc *debug_out)
{
int i, j;
for (j = 0; j < THREAD_POOLS; j++) {
for (i = 0; i < MEM_ZONES; i++) {
MemoryZone *mz = &zones[i][j];
MemoryZone zone = *mz;
if (zone.elements || zone.misses || zone.hits) {
PR_fprintf(debug_out,
"pool: %d, zone: %d, size: %d, free: %d, hit: %d, miss: %d, contend: %d\n",
j, i, zone.blockSize, zone.elements,
zone.hits, zone.misses, zone.contention);
}
}
}
}
static void *
pr_ZoneMalloc(PRUint32 size)
{