aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-05-24 00:41:16 -0700
committerPaul Eggert2011-05-24 00:41:16 -0700
commitb57f7e0a357aacf98ec5be826f7227f37e9806b8 (patch)
tree09df8ba0ba6446af1283aef5050b98457bcfbad5 /src
parent59568bf0330ee45f33b23bf1a8e221657cb24a7e (diff)
downloademacs-b57f7e0a357aacf98ec5be826f7227f37e9806b8.tar.gz
emacs-b57f7e0a357aacf98ec5be826f7227f37e9806b8.zip
* dbusbind.c (xd_invalid_serial): Remove. (Bug#8722)
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/dbusbind.c9
2 files changed, 1 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a905fd3c403..d276e309c50 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,7 +2,6 @@
2 2
3 * dbusbind.c: Serial number integer overflow fixes. 3 * dbusbind.c: Serial number integer overflow fixes.
4 (CHECK_DBUS_SERIAL_GET_SERIAL): New macro. 4 (CHECK_DBUS_SERIAL_GET_SERIAL): New macro.
5 (xd_invalid_serial): New static function.
6 (Fdbus_call_method_asynchronously, xd_read_message_1): Use a float 5 (Fdbus_call_method_asynchronously, xd_read_message_1): Use a float
7 to hold a serial number that is too large for a fixnum. 6 to hold a serial number that is too large for a fixnum.
8 (Fdbus_method_return_internal, Fdbus_method_error_internal): 7 (Fdbus_method_return_internal, Fdbus_method_error_internal):
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 9df7f443d7d..d8d0c7c2ef0 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -256,17 +256,10 @@ xd_symbol_to_dbus_type (Lisp_Object object)
256 && XFLOAT_DATA (x) <= DBUS_SERIAL_MAX) \ 256 && XFLOAT_DATA (x) <= DBUS_SERIAL_MAX) \
257 serial = XFLOAT_DATA (x); \ 257 serial = XFLOAT_DATA (x); \
258 else \ 258 else \
259 xd_invalid_serial (x); \ 259 XD_SIGNAL2 (build_string ("Invalid dbus serial"), x); \
260 } \ 260 } \
261 while (0) 261 while (0)
262 262
263static void xd_invalid_serial (Lisp_Object) NO_RETURN;
264static void
265xd_invalid_serial (Lisp_Object x)
266{
267 signal_error ("Invalid dbus serial", x);
268}
269
270/* Compute SIGNATURE of OBJECT. It must have a form that it can be 263/* Compute SIGNATURE of OBJECT. It must have a form that it can be
271 used in dbus_message_iter_open_container. DTYPE is the DBusType 264 used in dbus_message_iter_open_container. DTYPE is the DBusType
272 the object is related to. It is passed as argument, because it 265 the object is related to. It is passed as argument, because it