From e5e8effca82c24cdf4e15f91cc6fe29893ac0675 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 4 Apr 2008 03:26:33 +0300 Subject: Add a context argument to mp_input_add_event_fd callback --- input/input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input/input.h') diff --git a/input/input.h b/input/input.h index e6381b3e34..27c1bdb83f 100644 --- a/input/input.h +++ b/input/input.h @@ -240,7 +240,7 @@ mp_input_add_key_fd(int fd, int select, mp_key_func_t read_func, mp_close_func_t void mp_input_rm_key_fd(int fd); -int mp_input_add_event_fd(int fd, void (*read_func)(void)); +int mp_input_add_event_fd(int fd, void (*read_func)(void *ctx), void *ctx); void mp_input_rm_event_fd(int fd); -- cgit v1.2.3