rename proc_cb to ul_process_cb
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
0a81131257
commit
6ba84c7623
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ static int ul_timer(lua_State *L)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void proc_cb(struct uloop_process *p, int ret)
|
static void ul_process_cb(struct uloop_process *p, int ret)
|
||||||
{
|
{
|
||||||
struct lua_uloop_process *proc = container_of(p, struct lua_uloop_process, p);
|
struct lua_uloop_process *proc = container_of(p, struct lua_uloop_process, p);
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ static int ul_process(lua_State *L)
|
||||||
|
|
||||||
proc->r = ref;
|
proc->r = ref;
|
||||||
proc->p.pid = pid;
|
proc->p.pid = pid;
|
||||||
proc->p.cb = proc_cb;
|
proc->p.cb = ul_process_cb;
|
||||||
uloop_process_add(&proc->p);
|
uloop_process_add(&proc->p);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue