eloop: Remove global user data pointer
This is not really needed since all signal handlers can use a context pointer provided during signal handler registration.
This commit is contained in:
parent
9969e5a46a
commit
0456ea16d8
13 changed files with 37 additions and 93 deletions
|
@ -110,7 +110,7 @@ int main(int argc, char *argv[])
|
|||
os_memset(&ctx, 0, sizeof(ctx));
|
||||
inet_aton("127.0.0.1", &ctx.own_ip_addr);
|
||||
|
||||
if (eloop_init(&ctx)) {
|
||||
if (eloop_init()) {
|
||||
printf("Failed to initialize event loop\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue