From f83d78dd2801c7e4bee406379d3119f8852cf297 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 Jul 2014 13:36:13 +1000 Subject: Warning cleanup - ignoring const - declarations after statements - some C files didnt include own headers (risking them getting out of sync) Closes #1064 --- src/common/dbus/dbus-plugin.c | 1 + src/common/dbus/example.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/dbus') diff --git a/src/common/dbus/dbus-plugin.c b/src/common/dbus/dbus-plugin.c index ee8accfe..bb9fb5e1 100644 --- a/src/common/dbus/dbus-plugin.c +++ b/src/common/dbus/dbus-plugin.c @@ -26,6 +26,7 @@ #include #include #include "hexchat-plugin.h" +#include "dbus-plugin.h" #define PNAME _("remote access") #define PDESC _("plugin for remote access using DBUS") diff --git a/src/common/dbus/example.c b/src/common/dbus/example.c index c3ad4ff3..0228b884 100644 --- a/src/common/dbus/example.c +++ b/src/common/dbus/example.c @@ -33,7 +33,7 @@ guint command_id; guint server_id; static void -write_error (char *message, +write_error (const char *message, GError **error) { if (error == NULL || *error == NULL) { -- cgit 1.4.1