From: Olivier Matz Date: Thu, 26 Mar 2015 18:38:44 +0000 (+0100) Subject: test/rdline: fix prototype of complete_buffer X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5358b550eafbca4b60d0d2da1a4edcdbaa76461c;p=aversive.git test/rdline: fix prototype of complete_buffer Parameters were inverted Signed-off-by: Olivier Matz --- 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