git.droids-corp.org
/
libcmdline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmdline: add the incomplete token string as an argument of iter_start()
[libcmdline.git]
/
src
/
extension_example
/
parse_obj_list.c
diff --git
a/src/extension_example/parse_obj_list.c
b/src/extension_example/parse_obj_list.c
index
d561519
..
9869e09
100644
(file)
--- a/
src/extension_example/parse_obj_list.c
+++ b/
src/extension_example/parse_obj_list.c
@@
-70,7
+70,9
@@
parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *buf, void *res,
}
static int
}
static int
-complete_obj_list_start(cmdline_parse_token_hdr_t *tk, void **opaque)
+complete_obj_list_start(cmdline_parse_token_hdr_t *tk,
+ __attribute__((unused)) const char *tokstr,
+ void **opaque)
{
struct token_obj_list *tk2 = (struct token_obj_list *)tk;
struct token_obj_list_data *tkd = &tk2->obj_list_data;
{
struct token_obj_list *tk2 = (struct token_obj_list *)tk;
struct token_obj_list_data *tkd = &tk2->obj_list_data;