From 5b58c9fd2880911aa926259d97a396e97f3d4313 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Jun 2023 01:50:24 +0200 Subject: event_loop: hide the API details --- src/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 3d13abd..4ef245f 100644 --- a/src/command.h +++ b/src/command.h @@ -29,7 +29,7 @@ void cmd_dispatcher_destroy(struct cmd_dispatcher *); int cmd_dispatcher_handle(const struct cmd_dispatcher *, const struct msg *command, struct msg **response); -int cmd_dispatcher_add_to_event_loop(const struct cmd_dispatcher *, struct event_loop *, int fd); +int cmd_dispatcher_add_to_event_loop(struct cmd_dispatcher *, struct event_loop *, int fd); struct cmd_conn_ctx { int fd; -- cgit v1.2.3