From 3c89788fa483ebda858ab66797e2834af94b798f Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 21 Apr 2009 12:52:22 -0400 Subject: Bug 19502 - Sparse warning cleanups This patch makes various things that should be static static, corrects some "return FALSE" where it should be NULL, etc. Signed-off-by: Colin Walters --- tools/dbus-launch.c | 2 +- tools/dbus-monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 139d0aaf..9c47d7e3 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -335,7 +335,7 @@ do_waitpid (pid_t pid) static pid_t bus_pid_to_kill = -1; static void -kill_bus() +kill_bus(void) { verbose ("Killing message bus and exiting babysitter\n"); kill (bus_pid_to_kill, SIGTERM); diff --git a/tools/dbus-monitor.c b/tools/dbus-monitor.c index ee03d854..cbd7a489 100644 --- a/tools/dbus-monitor.c +++ b/tools/dbus-monitor.c @@ -195,7 +195,7 @@ usage (char *name, int ecode) exit (ecode); } -dbus_bool_t sigint_received = FALSE; +static dbus_bool_t sigint_received = FALSE; static void sigint_handler (int signum) -- cgit