diff options
| author | Paul Eggert | 2012-08-27 10:23:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-27 10:23:48 -0700 |
| commit | de1339b0a8a5b6b8bf784c816b2b974f4610e3ac (patch) | |
| tree | 2a77a2ce1b781f5cf30c734e9b0919a6ff3264ec /src/dbusbind.c | |
| parent | f10fe38f772c29031a23ef7aa92d2de1b3675461 (diff) | |
| download | emacs-de1339b0a8a5b6b8bf784c816b2b974f4610e3ac.tar.gz emacs-de1339b0a8a5b6b8bf784c816b2b974f4610e3ac.zip | |
* composite.c, data.c, dbusbind.c, dired.c: Use bool for booleans.
* composite.c (find_composition, composition_gstring_p)
(composition_reseat_it, find_automatic_composition):
* data.c (let_shadows_buffer_binding_p)
(let_shadows_global_binding_p, set_internal, make_blv)
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fmake_variable_frame_local, arithcompare, cons_to_unsigned)
(cons_to_signed, arith_driver):
* dbusbind.c (xd_in_read_queued_messages):
* dired.c (directory_files_internal, file_name_completion):
Use bool for booleans.
* dired.c (file_name_completion):
* process.h (fd_callback):
Omit int (actually boolean) argument. It wasn't being used.
All uses changed.
* composite.h, lisp.h: Reflect above API changes.
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; |