summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index f7d820e0..d6da5ec7 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -467,7 +467,7 @@ static void signal_handler(gint signal, gpointer data)
}
}
-static void print_version()
+static void print_version(void)
{
g_print("Openbox %s\n", PACKAGE_VERSION);
g_print(_("Copyright (c)"));
@@ -479,7 +479,7 @@ static void print_version()
g_print("under certain conditions. See the file COPYING for details.\n\n");
}
-static void print_help()
+static void print_help(void)
{
g_print(_("Syntax: openbox [options]\n"));
g_print(_("\nOptions:\n"));
@@ -512,7 +512,7 @@ static void remove_args(gint *argc, gchar **argv, gint index, gint num)
*argc -= num;
}
-static void parse_env()
+static void parse_env(void)
{
/* unset this so we don't pass it on unknowingly */
unsetenv("DESKTOP_STARTUP_ID");
@@ -644,13 +644,13 @@ void ob_restart_other(const gchar *path)
ob_restart();
}
-void ob_restart()
+void ob_restart(void)
{
restart = TRUE;
ob_exit(0);
}
-void ob_reconfigure()
+void ob_reconfigure(void)
{
reconfigure = TRUE;
ob_exit(0);
@@ -662,7 +662,7 @@ void ob_exit(gint code)
obt_main_loop_exit(ob_main_loop);
}
-void ob_exit_replace()
+void ob_exit_replace(void)
{
exitcode = 0;
being_replaced = TRUE;
@@ -681,7 +681,7 @@ KeyCode ob_keycode(ObKey key)
return keys[key];
}
-ObState ob_state()
+ObState ob_state(void)
{
return state;
}