summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/events/events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/events/events.c b/source4/lib/events/events.c
index 38f2352f3b..2a6da1370f 100644
--- a/source4/lib/events/events.c
+++ b/source4/lib/events/events.c
@@ -243,10 +243,10 @@ struct timed_event *event_add_timed(struct event_context *ev, TALLOC_CTX *mem_ct
add a signal event
return NULL on failure
*/
-struct timed_event *event_add_signal(struct event_context *ev, TALLOC_CTX *mem_ctx,
- int signum,
- event_signal_handler_t handler,
- void *private_data)
+struct signal_event *event_add_signal(struct event_context *ev, TALLOC_CTX *mem_ctx,
+ int signum,
+ event_signal_handler_t handler,
+ void *private_data)
{
return ev->ops->add_signal(ev, mem_ctx, signum, handler, private_data);
}