From 857dedbc584fcf0af0afa13f008377fd9a83dad1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 May 2012 00:36:50 +0000 Subject: style cleanup --- intern/guardedalloc/intern/mallocn.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'intern/guardedalloc') diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 10ac93d1c3d..cad0e549060 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -545,7 +545,8 @@ static void MEM_printmemlist_internal(int pydict) mem_unlock_thread(); } -void MEM_callbackmemlist(void (*func)(void *)) { +void MEM_callbackmemlist(void (*func)(void *)) +{ MemHead *membl; mem_lock_thread(); @@ -563,7 +564,8 @@ void MEM_callbackmemlist(void (*func)(void *)) { mem_unlock_thread(); } -short MEM_testN(void *vmemh) { +short MEM_testN(void *vmemh) +{ MemHead *membl; mem_lock_thread(); @@ -588,10 +590,12 @@ short MEM_testN(void *vmemh) { return 0; } -void MEM_printmemlist(void) { +void MEM_printmemlist(void) +{ MEM_printmemlist_internal(0); } -void MEM_printmemlist_pydict(void) { +void MEM_printmemlist_pydict(void) +{ MEM_printmemlist_internal(1); } -- cgit v1.2.3