summaryrefslogtreecommitdiff
path: root/dbus/dbus-sysdeps-util-win.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-09-27 13:59:43 +0100
committerSimon McVittie <smcv@collabora.com>2017-09-27 15:15:58 +0100
commit49446d4b362ec4d0205b60f4cf883cf7e97ecabc (patch)
tree5f1a6dcf89ad387f7971c14218d1c8a37036ba2a /dbus/dbus-sysdeps-util-win.c
parent3d538ced103c7955e6e62a72866e0f56cf3f52d6 (diff)
sysdeps: Stop pretending _dbus_set_signal_handler is portable to Windows
None of the things we rely on in POSIX async signal handlers, such as the existence of async-signal-safe write(), are portable to Windows, so the async signal handlers that use this function are #ifdef DBUS_UNIX anyway. Remove the unused stub function from the Windows side, and move the declaration to the Unix-specific header. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103010 Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'dbus/dbus-sysdeps-util-win.c')
-rw-r--r--dbus/dbus-sysdeps-util-win.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/dbus/dbus-sysdeps-util-win.c b/dbus/dbus-sysdeps-util-win.c
index 05bd976d..1ef4ae6c 100644
--- a/dbus/dbus-sysdeps-util-win.c
+++ b/dbus/dbus-sysdeps-util-win.c
@@ -296,18 +296,6 @@ _dbus_rlimit_free (DBusRLimit *lim)
_dbus_assert (lim == NULL);
}
-/** Installs a signal handler
- *
- * @param sig the signal to handle
- * @param handler the handler
- */
-void
-_dbus_set_signal_handler (int sig,
- DBusSignalHandler handler)
-{
- _dbus_verbose ("has to be implemented\n");
-}
-
/**
* stat() wrapper.
*