summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spstkalloc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-26 12:16:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-26 12:16:36 +0000
commitc1ac715a4a2f8f569471515598f91477dc773aa2 (patch)
treeb8a0fa2fcb20c4fd8ac59fcac6292df960e671ea /testsuites/sptests/spstkalloc
parent2009-08-26 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-c1ac715a4a2f8f569471515598f91477dc773aa2.tar.bz2
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.c4
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;
}