summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-10-13 12:12:16 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2015-10-24 18:02:49 +0200
commit12f0b68c82356e4dd24f2f0d370b21eb17f1f42e (patch)
treedc64d0524e634b07486ded2c3f718e1614edad9b /util
parent972ad21553fd46738eea91f0085c7bc32cf68d86 (diff)
downloadqemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.tar.gz
qemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.tar.bz2
qemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.zip
util: const event_notifier_get_fd() argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/event_notifier-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/event_notifier-posix.c b/util/event_notifier-posix.c
index ed4ca2b01e..d4a0c63e12 100644
--- a/util/event_notifier-posix.c
+++ b/util/event_notifier-posix.c
@@ -77,7 +77,7 @@ void event_notifier_cleanup(EventNotifier *e)
close(e->wfd);
}
-int event_notifier_get_fd(EventNotifier *e)
+int event_notifier_get_fd(const EventNotifier *e)
{
return e->rfd;
}