diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-08-31 12:27:58 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-08-31 12:27:58 +0000 |
commit | f858a968c1257e22a43e95b67ee0ecfc35a3a23d (patch) | |
tree | 98866c28c86e32151f06ade60c0fb4cb246b4042 /navit/event.h | |
parent | 3a68b58eebf57f94cf1389204f3d36b279ac4833 (diff) | |
download | navit-svn-f858a968c1257e22a43e95b67ee0ecfc35a3a23d.tar.gz |
Fix:core:Correct signature of event_add_watch: file descriptors are int's.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5881 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r-- | navit/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/event.h b/navit/event.h index b67bcbd7..1aa10cc4 100644 --- a/navit/event.h +++ b/navit/event.h @@ -37,7 +37,7 @@ enum event_watch_cond { struct event_methods { void (*main_loop_run)(void); void (*main_loop_quit)(void); - struct event_watch *(*add_watch)(void *fd, enum event_watch_cond cond, struct callback *cb); + struct event_watch *(*add_watch)(int fd, enum event_watch_cond cond, struct callback *cb); void (*remove_watch)(struct event_watch *ev); struct event_timeout *(*add_timeout)(int timeout, int multi, struct callback *cb); void (*remove_timeout)(struct event_timeout *ev); @@ -57,7 +57,7 @@ struct event_watch; void event_main_loop_run(void); void event_main_loop_quit(void); int event_main_loop_has_quit(void); -struct event_watch *event_add_watch(void *fd, enum event_watch_cond cond, struct callback *cb); +struct event_watch *event_add_watch(int fd, enum event_watch_cond cond, struct callback *cb); void event_remove_watch(struct event_watch *ev); struct event_timeout *event_add_timeout(int timeout, int multi, struct callback *cb); void event_remove_timeout(struct event_timeout *ev); |