git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/rdline: fix prototype of complete_buffer
[aversive.git]
/
modules
/
ihm
/
rdline
/
test
/
main.c
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
#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
{
sock_printf("complete -> %d\n", *state);
#if TEST_COMPLETION == 1