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 | 7839f0a1925903b7d20376cb7c1e2535b52292b7 (patch) | |
tree | 98866c28c86e32151f06ade60c0fb4cb246b4042 /navit/event.h | |
parent | 03d7430425057781a9ad96c6bd646e873252963c (diff) | |
download | navit-7839f0a1925903b7d20376cb7c1e2535b52292b7.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 b67bcbd7d..1aa10cc4f 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); |