diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2009-04-21 12:52:22 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-04-21 13:10:10 -0400 |
commit | 3c89788fa483ebda858ab66797e2834af94b798f (patch) | |
tree | dc3d2966b04560366edc10e6245442a1bd7f1ca7 /dbus/dbus-connection.c | |
parent | 83d7da43c40b913838917ff79d799dba69812b69 (diff) |
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 <walters@verbum.org>
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r-- | dbus/dbus-connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index ae07adf0..d44d728b 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2927,7 +2927,7 @@ dbus_connection_get_server_id (DBusConnection *connection) { char *id; - _dbus_return_val_if_fail (connection != NULL, FALSE); + _dbus_return_val_if_fail (connection != NULL, NULL); CONNECTION_LOCK (connection); id = _dbus_strdup (_dbus_transport_get_server_id (connection->transport)); @@ -3340,7 +3340,7 @@ dbus_connection_send_with_reply_and_block (DBusConnection *connection, * * @param connection the connection. */ -DBusDispatchStatus +static DBusDispatchStatus _dbus_connection_flush_unlocked (DBusConnection *connection) { /* We have to specify DBUS_ITERATION_DO_READING here because |