diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-27 04:36:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-27 04:36:50 +0400 |
commit | 857dedbc584fcf0af0afa13f008377fd9a83dad1 (patch) | |
tree | 1a6d3fa834658422032f4de3140472b82a8cbfa6 /intern/guardedalloc | |
parent | 822362189badefd6c0014f608d36d98e8ab57282 (diff) |
style cleanup
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn.c | 12 |
1 files changed, 8 insertions, 4 deletions
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); } |