util: const event_notifier_get_fd() argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
972ad21553
commit
12f0b68c82
@ -38,7 +38,7 @@ int event_notifier_set_handler(EventNotifier *, EventNotifierHandler *);
|
|||||||
|
|
||||||
#ifdef CONFIG_POSIX
|
#ifdef CONFIG_POSIX
|
||||||
void event_notifier_init_fd(EventNotifier *, int fd);
|
void event_notifier_init_fd(EventNotifier *, int fd);
|
||||||
int event_notifier_get_fd(EventNotifier *);
|
int event_notifier_get_fd(const EventNotifier *);
|
||||||
#else
|
#else
|
||||||
HANDLE event_notifier_get_handle(EventNotifier *);
|
HANDLE event_notifier_get_handle(EventNotifier *);
|
||||||
#endif
|
#endif
|
||||||
|
@ -77,7 +77,7 @@ void event_notifier_cleanup(EventNotifier *e)
|
|||||||
close(e->wfd);
|
close(e->wfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
int event_notifier_get_fd(EventNotifier *e)
|
int event_notifier_get_fd(const EventNotifier *e)
|
||||||
{
|
{
|
||||||
return e->rfd;
|
return e->rfd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user