git.droids-corp.org
/
aversive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2eb5655
)
test/rdline: fix prototype of complete_buffer
author
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Mar 2015 18:38:44 +0000
(19:38 +0100)
committer
Olivier Matz
<zer0@droids-corp.org>
Thu, 26 Mar 2015 18:38:44 +0000
(19:38 +0100)
Parameters were inverted
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
modules/ihm/rdline/test/main.c
patch
|
blob
|
history
diff --git
a/modules/ihm/rdline/test/main.c
b/modules/ihm/rdline/test/main.c
index
a029489
..
eeabd69
100644
(file)
--- 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