[uicb] Rename functions
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ea7c1ceeb3
commit
28ca287d7d
|
@ -525,7 +525,7 @@ main(int argc, char **argv)
|
|||
if(r >= ssizeof(buf))
|
||||
break;
|
||||
buf[r] = '\0';
|
||||
parse_control(buf);
|
||||
__uicb_parsecmd(buf);
|
||||
statusbar_refresh();
|
||||
layout_refresh();
|
||||
}
|
||||
|
|
6
uicb.c
6
uicb.c
|
@ -194,12 +194,12 @@ __uicb_run(char *cmd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/** Parse the control buffer.
|
||||
* \param cmd the control buffer
|
||||
/** Parse a command.
|
||||
* \param cmd the buffer
|
||||
* \return 0 on succes, -1 on failure
|
||||
*/
|
||||
int
|
||||
parse_control(char *cmd)
|
||||
__uicb_parsecmd(char *cmd)
|
||||
{
|
||||
char *p, *curcmd = cmd;
|
||||
|
||||
|
|
Loading…
Reference in New Issue