mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
from trunk: constify structs; from Andrei Nigmatulin
svn:r960
This commit is contained in:
parent
1958f3a7ba
commit
dfa9cb5d9b
@ -75,7 +75,7 @@ static int devpoll_del (void *, struct event *);
|
||||
static int devpoll_dispatch (struct event_base *, void *, struct timeval *);
|
||||
static void devpoll_dealloc (struct event_base *, void *);
|
||||
|
||||
struct eventop devpollops = {
|
||||
const struct eventop devpollops = {
|
||||
"devpoll",
|
||||
devpoll_init,
|
||||
devpoll_add,
|
||||
|
2
epoll.c
2
epoll.c
@ -75,7 +75,7 @@ static int epoll_del (void *, struct event *);
|
||||
static int epoll_dispatch (struct event_base *, void *, struct timeval *);
|
||||
static void epoll_dealloc (struct event_base *, void *);
|
||||
|
||||
struct eventop epollops = {
|
||||
const struct eventop epollops = {
|
||||
"epoll",
|
||||
epoll_init,
|
||||
epoll_add,
|
||||
|
Loading…
x
Reference in New Issue
Block a user