0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Moved stored_sock to io-loop.c (old hack for mainloop)

This commit is contained in:
Maria Matejka 2024-08-27 15:04:32 +02:00
parent 2aeb8ea47c
commit d6cb22f246
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ birdloop_add_socket(struct birdloop *loop, sock *s)
socket_changed(s);
}
extern sock *stored_sock; /* mainloop hack */
sock *stored_sock; /* mainloop hack */
void
birdloop_remove_socket(struct birdloop *loop, sock *s)

View File

@ -515,7 +515,7 @@ static int short_loops = 0;
#define SHORT_LOOP_MAX 10
#define WORK_EVENTS_MAX 10
sock *stored_sock;
extern sock *stored_sock; /* mainloop hack */
int sk_read(sock *s, int revents);
int sk_write(sock *s);