mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
path: refactor path_init_poll() -> path_prepare_poll()
This commit is contained in:
parent
7e5b4ac5ce
commit
842be5a9cc
1 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ int path_init(struct path *p)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int path_init_poll(struct path *p)
|
||||
static int path_prepare_poll(struct path *p)
|
||||
{
|
||||
int fds[16], ret, n = 0, m;
|
||||
|
||||
|
@ -282,7 +282,7 @@ int path_prepare(struct path *p)
|
|||
|
||||
/* Prepare poll() */
|
||||
if (p->poll) {
|
||||
ret = path_init_poll(p);
|
||||
ret = path_prepare_poll(p);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue