aboutsummaryrefslogtreecommitdiffstats
path: root/test/testheap.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-06-15 11:34:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-06-15 11:34:16 +0000
commita544f87a38e6f0b4b60113dbec8352d5f6c04104 (patch)
treeeb09ecf7b7ed53ce3ec47a7be96d3307f3e2732c /test/testheap.c
parenteee0672c0a2da8eae066ca32ac19fa6f974876bb (diff)
downloadChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.tar.gz
ChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.tar.bz2
ChibiOS-a544f87a38e6f0b4b60113dbec8352d5f6c04104.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2020 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testheap.c')
-rw-r--r--test/testheap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/testheap.c b/test/testheap.c
index eb81f77ed..698a01861 100644
--- a/test/testheap.c
+++ b/test/testheap.c
@@ -64,11 +64,6 @@ static MemoryHeap test_heap;
* sequence.
*/
-static char *heap1_gettest(void) {
-
- return "Heap, allocation and fragmentation test";
-}
-
static void heap1_setup(void) {
chHeapInit(&test_heap, test.buffer, sizeof(union test_buffers));
@@ -148,7 +143,7 @@ static void heap1_execute(void) {
}
const struct testcase testheap1 = {
- heap1_gettest,
+ "Heap, allocation and fragmentation test",
heap1_setup,
NULL,
heap1_execute