aboutsummaryrefslogtreecommitdiffstats
path: root/test/nil
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-01 12:07:01 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-01 12:07:01 +0000
commit6568f70bd826ba1b49c28d8709934fb5db18d0a3 (patch)
treef0837be60056aaeaa24632cae7bac5e196abc317 /test/nil
parent0daa851127bc9065dcbb025cd4142c5e37caed14 (diff)
downloadChibiOS-6568f70bd826ba1b49c28d8709934fb5db18d0a3.tar.gz
ChibiOS-6568f70bd826ba1b49c28d8709934fb5db18d0a3.tar.bz2
ChibiOS-6568f70bd826ba1b49c28d8709934fb5db18d0a3.zip
Fixed bug #888.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10726 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/nil')
-rw-r--r--test/nil/configuration.xml5
-rw-r--r--test/nil/source/test/test_sequence_006.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/test/nil/configuration.xml b/test/nil/configuration.xml
index 42c265864..297cb804a 100644
--- a/test/nil/configuration.xml
+++ b/test/nil/configuration.xml
@@ -1158,10 +1158,11 @@ static MEMORYPOOL_DECL(mp1, sizeof (uint32_t), NULL);
static GUARDEDMEMORYPOOL_DECL(gmp1, sizeof (uint32_t));
#endif
-static void *null_provider(size_t size, unsigned align) {
+static void *null_provider(size_t size, unsigned align, size_t offset) {
(void)size;
- (void)align;
+ (void)align;
+ (void)offset;
return NULL;
}]]></value>
diff --git a/test/nil/source/test/test_sequence_006.c b/test/nil/source/test/test_sequence_006.c
index 759ceae52..b14c522a7 100644
--- a/test/nil/source/test/test_sequence_006.c
+++ b/test/nil/source/test/test_sequence_006.c
@@ -58,10 +58,11 @@ static MEMORYPOOL_DECL(mp1, sizeof (uint32_t), NULL);
static GUARDEDMEMORYPOOL_DECL(gmp1, sizeof (uint32_t));
#endif
-static void *null_provider(size_t size, unsigned align) {
+static void *null_provider(size_t size, unsigned align, size_t offset) {
(void)size;
(void)align;
+ (void)offset;
return NULL;
}