From 5358b550eafbca4b60d0d2da1a4edcdbaa76461c Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 26 Mar 2015 19:38:44 +0100 Subject: [PATCH] test/rdline: fix prototype of complete_buffer Parameters were inverted Signed-off-by: Olivier Matz --- modules/ihm/rdline/test/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ihm/rdline/test/main.c b/modules/ihm/rdline/test/main.c index a029489..eeabd69 100644 --- a/modules/ihm/rdline/test/main.c +++ b/modules/ihm/rdline/test/main.c @@ -139,9 +139,8 @@ const char * dummy_complete[] = { #define TEST_COMPLETION 1 //#define TEST_COMPLETION 2 -int8_t complete_buffer(const char * buf, uint8_t size, - char * dstbuf, uint8_t dstsize, - int * state) +int8_t complete_buffer(const char *buf, char *dstbuf, + uint8_t dstsize, int *state) { sock_printf("complete -> %d\n", *state); #if TEST_COMPLETION == 1 -- 2.39.5