[uicb] Rename functions

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-09 13:14:25 +02:00
parent ea7c1ceeb3
commit 28ca287d7d
3 changed files with 5 additions and 5 deletions

View File

@ -525,7 +525,7 @@ main(int argc, char **argv)
if(r >= ssizeof(buf)) if(r >= ssizeof(buf))
break; break;
buf[r] = '\0'; buf[r] = '\0';
parse_control(buf); __uicb_parsecmd(buf);
statusbar_refresh(); statusbar_refresh();
layout_refresh(); layout_refresh();
} }

6
uicb.c
View File

@ -194,12 +194,12 @@ __uicb_run(char *cmd)
return 0; return 0;
} }
/** Parse the control buffer. /** Parse a command.
* \param cmd the control buffer * \param cmd the buffer
* \return 0 on succes, -1 on failure * \return 0 on succes, -1 on failure
*/ */
int int
parse_control(char *cmd) __uicb_parsecmd(char *cmd)
{ {
char *p, *curcmd = cmd; char *p, *curcmd = cmd;

2
uicb.h
View File

@ -24,7 +24,7 @@
typedef void (Uicb)(int, char *); typedef void (Uicb)(int, char *);
int parse_control(char *); int __uicb_parsecmd(char *);
Uicb uicb_restart; Uicb uicb_restart;
Uicb uicb_exec; Uicb uicb_exec;