From 28ca287d7dc5d20e0d94eb6522705e7e23002bf8 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 9 Apr 2008 13:14:25 +0200 Subject: [PATCH] [uicb] Rename functions Signed-off-by: Julien Danjou --- awesome.c | 2 +- uicb.c | 6 +++--- uicb.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awesome.c b/awesome.c index b4b61a411..8570a4e22 100644 --- a/awesome.c +++ b/awesome.c @@ -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(); } diff --git a/uicb.c b/uicb.c index e8f2b48b1..d65838163 100644 --- a/uicb.c +++ b/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; diff --git a/uicb.h b/uicb.h index add284d1f..f64425375 100644 --- a/uicb.h +++ b/uicb.h @@ -24,7 +24,7 @@ typedef void (Uicb)(int, char *); -int parse_control(char *); +int __uicb_parsecmd(char *); Uicb uicb_restart; Uicb uicb_exec;