X-Git-Url: http://git.droids-corp.org/?p=libcmdline.git;a=blobdiff_plain;f=src%2Flib%2Fcmdline_parse_num.h;h=cf4b4a5911a20f4b640296e66ea540ad31e2a6cf;hp=b149c92cee839194b8bb5fb100cbd1729c8d351b;hb=c60ed50ac1449a2b2bccc33598d1f68458a36fb1;hpb=6f32a68393e01b4179592b9f48255179e8ad55f7 diff --git a/src/lib/cmdline_parse_num.h b/src/lib/cmdline_parse_num.h index b149c92..cf4b4a5 100644 --- a/src/lib/cmdline_parse_num.h +++ b/src/lib/cmdline_parse_num.h @@ -54,9 +54,9 @@ typedef struct cmdline_token_num cmdline_parse_token_num_t; extern struct cmdline_token_ops cmdline_token_num_ops; -int cmdline_parse_num(cmdline_parse_token_hdr_t *tk, +int cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res); -int cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, +int cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size); #define TOKEN_NUM_INITIALIZER(structure, field, numtype) \