From 84517669000209cc5df46465c715076a3d5ad9ef Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 2 Dec 2005 04:41:31 +0000 Subject: pollops should be const --- lib/libevent/poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libevent') diff --git a/lib/libevent/poll.c b/lib/libevent/poll.c index 9da4d59cb50..fbc5aca4eff 100644 --- a/lib/libevent/poll.c +++ b/lib/libevent/poll.c @@ -1,4 +1,4 @@ -/* $OpenBSD: poll.c,v 1.10 2005/07/02 07:15:13 grunk Exp $ */ +/* $OpenBSD: poll.c,v 1.11 2005/12/02 04:41:30 deraadt Exp $ */ /* * Copyright 2000-2003 Niels Provos @@ -75,7 +75,7 @@ int poll_del (void *, struct event *); int poll_recalc (struct event_base *, void *, int); int poll_dispatch (struct event_base *, void *, struct timeval *); -struct eventop pollops = { +const struct eventop pollops = { "poll", poll_init, poll_add, -- cgit v1.2.3