From 22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmtrace/ktrace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmtrace') diff --git a/kmtrace/ktrace.c b/kmtrace/ktrace.c index cf3c55c0..21fca376 100644 --- a/kmtrace/ktrace.c +++ b/kmtrace/ktrace.c @@ -495,14 +495,14 @@ addAllocationToTree(void) int i, j; void *bt[TR_BT_SIZE + 1]; CallerNode* cn = CallTree; - CallerNode** tqparent = &CallTree; + CallerNode** parent = &CallTree; bt_size = backtrace(bt, TR_BT_SIZE); for (i = bt_size - 1; i >= 4; i--) { if (cn == NULL) { - *tqparent = cn = (CallerNode*) malloc(sizeof(CallerNode)); + *parent = cn = (CallerNode*) malloc(sizeof(CallerNode)); cn->funcAdr = bt[i]; cn->mallocs = 0; cn->noCallees = 0; @@ -517,7 +517,7 @@ addAllocationToTree(void) for (j = 0; j < cn->noCallees; j++) if (bt[i - 1] == cn->callees[j]->funcAdr) { - tqparent = &cn->callees[j]; + parent = &cn->callees[j]; cn = cn->callees[j]; knownCallee = 1; break; @@ -541,7 +541,7 @@ addAllocationToTree(void) (newSize - cn->maxCallees) * sizeof(CallerNode*)); cn->maxCallees = newSize; } - tqparent = &cn->callees[cn->noCallees++]; + parent = &cn->callees[cn->noCallees++]; cn = 0; } } -- cgit v1.2.1