summaryrefslogtreecommitdiffstats
path: root/testsuites
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
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')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/spstkalloc/init.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 12e704d0a6..908346dd3e 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
+
+ * spstkalloc/init.c: Changed allocator signature. Functions are now
+ static.
+
2009-08-25 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sp29/init.c: Fixed return value evaluation.
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;
}