1
0
Fork 0
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:
Steffen Vogel 2019-02-24 11:11:19 +01:00
parent 7e5b4ac5ce
commit 842be5a9cc

View file

@ -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;
}