diff options
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index f63f2948304..901820648cb 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -70,7 +70,7 @@ static Lisp_Object QCdbus_registered_signal; | |||
| 70 | static Lisp_Object xd_registered_buses; | 70 | static Lisp_Object xd_registered_buses; |
| 71 | 71 | ||
| 72 | /* Whether we are reading a D-Bus event. */ | 72 | /* Whether we are reading a D-Bus event. */ |
| 73 | static int xd_in_read_queued_messages = 0; | 73 | static bool xd_in_read_queued_messages = 0; |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | /* We use "xd_" and "XD_" as prefix for all internal symbols, because | 76 | /* We use "xd_" and "XD_" as prefix for all internal symbols, because |
| @@ -997,8 +997,7 @@ xd_find_watch_fd (DBusWatch *watch) | |||
| 997 | } | 997 | } |
| 998 | 998 | ||
| 999 | /* Prototype. */ | 999 | /* Prototype. */ |
| 1000 | static void | 1000 | static void xd_read_queued_messages (int fd, void *data); |
| 1001 | xd_read_queued_messages (int fd, void *data, int for_read); | ||
| 1002 | 1001 | ||
| 1003 | /* Start monitoring WATCH for possible I/O. */ | 1002 | /* Start monitoring WATCH for possible I/O. */ |
| 1004 | static dbus_bool_t | 1003 | static dbus_bool_t |
| @@ -1686,7 +1685,7 @@ xd_read_message (Lisp_Object bus) | |||
| 1686 | 1685 | ||
| 1687 | /* Callback called when something is ready to read or write. */ | 1686 | /* Callback called when something is ready to read or write. */ |
| 1688 | static void | 1687 | static void |
| 1689 | xd_read_queued_messages (int fd, void *data, int for_read) | 1688 | xd_read_queued_messages (int fd, void *data) |
| 1690 | { | 1689 | { |
| 1691 | Lisp_Object busp = xd_registered_buses; | 1690 | Lisp_Object busp = xd_registered_buses; |
| 1692 | Lisp_Object bus = Qnil; | 1691 | Lisp_Object bus = Qnil; |