diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-26 12:16:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-26 12:16:36 +0000 |
commit | c1ac715a4a2f8f569471515598f91477dc773aa2 (patch) | |
tree | b8a0fa2fcb20c4fd8ac59fcac6292df960e671ea /testsuites/sptests/spstkalloc | |
parent | 7c9c8c8c59c440602f7166d7e9b94697d7b164c5 (diff) |
2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* spstkalloc/init.c: Changed allocator signature. Functions are now
static.
Diffstat (limited to 'testsuites/sptests/spstkalloc')
-rw-r--r-- | testsuites/sptests/spstkalloc/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spstkalloc/init.c b/testsuites/sptests/spstkalloc/init.c index 131a803525..097a572ec0 100644 --- a/testsuites/sptests/spstkalloc/init.c +++ b/testsuites/sptests/spstkalloc/init.c @@ -21,14 +21,14 @@ int stackToAlloc = 0; StackMemory_t Stacks[3]; void *StackDeallocated = NULL; -void *StackAllocator(uint32_t size) +static void *StackAllocator(size_t size) { if (stackToAlloc < MAXIMUM_STACKS) return &Stacks[stackToAlloc++]; return NULL; } -void StackDeallocator(void *stack) +static void StackDeallocator(void *stack) { StackDeallocated = stack; } |