mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-10 16:31:08 +00:00
Minor, coding style
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
270e270591
commit
f9c72a01c8
1 file changed
+2
-2
@@ -295,8 +295,8 @@ int uev_exit(uev_ctx_t *ctx)
|
|||||||
*/
|
*/
|
||||||
int uev_run(uev_ctx_t *ctx, int flags)
|
int uev_run(uev_ctx_t *ctx, int flags)
|
||||||
{
|
{
|
||||||
uev_t *w;
|
|
||||||
int timeout = -1;
|
int timeout = -1;
|
||||||
|
uev_t *w;
|
||||||
|
|
||||||
if (!ctx || ctx->fd < 0) {
|
if (!ctx || ctx->fd < 0) {
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
@@ -356,9 +356,9 @@ int uev_run(uev_ctx_t *ctx, int flags)
|
|||||||
|
|
||||||
for (i = 0; ctx->running && i < nfds; i++) {
|
for (i = 0; ctx->running && i < nfds; i++) {
|
||||||
struct signalfd_siginfo fdsi;
|
struct signalfd_siginfo fdsi;
|
||||||
|
ssize_t sz = sizeof(fdsi);
|
||||||
uint32_t events;
|
uint32_t events;
|
||||||
uint64_t exp;
|
uint64_t exp;
|
||||||
ssize_t sz = sizeof(fdsi);
|
|
||||||
|
|
||||||
w = (uev_t *)ee[i].data.ptr;
|
w = (uev_t *)ee[i].data.ptr;
|
||||||
events = ee[i].events;
|
events = ee[i].events;
|
||||||
|
|||||||
Reference in new issue
Block a user