From 9e05faf3d6ac1c527032efb7210de8bbfeb2212c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 15 Feb 2008 16:47:10 +0100 Subject: () -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have. --- openbox/openbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index d6da5ec7..012666dc 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -148,7 +148,7 @@ gint main(gint argc, gchar **argv) * remote_control = 2 -> restart */ OBT_PROP_MSG(ob_screen, obt_root(ob_screen), OB_CONTROL, remote_control, 0, 0, 0, 0); - obt_display_close(obt_display); + obt_display_close(); exit(EXIT_SUCCESS); } @@ -384,7 +384,7 @@ gint main(gint argc, gchar **argv) session_shutdown(being_replaced); - obt_display_close(obt_display); + obt_display_close(); if (restart) { if (restart_path != NULL) { -- cgit v1.2.3