summaryrefslogtreecommitdiff
path: root/bus/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/main.c')
-rw-r--r--bus/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bus/main.c b/bus/main.c
index 472458ed..e060baa8 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -61,7 +61,6 @@ signal_handler (int sig)
{
switch (sig)
{
-#ifdef SIGHUP
case SIGHUP:
{
DBusString str;
@@ -94,7 +93,6 @@ signal_handler (int sig)
}
}
break;
-#endif
case SIGTERM:
{
@@ -642,9 +640,7 @@ main (int argc, char **argv)
* no point in trying to make the handler portable to non-Unix. */
_dbus_set_signal_handler (SIGTERM, signal_handler);
-#ifdef SIGHUP
_dbus_set_signal_handler (SIGHUP, signal_handler);
-#endif
#endif /* DBUS_UNIX */
_dbus_verbose ("We are on D-Bus...\n");