From d96f7e9f9824a85aeb2330b6da170d55f4823456 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Fri, 2 Nov 2012 20:12:27 +0000 Subject: [PATCH] edbus2: quiet warning (again) Say what you want, but this creates quite a lot of warnings, and warnings when including another header into a project is no good. I want to just see my own warnings. So as long as there is only two NULLs, please let them be there. SVN revision: 78873 --- legacy/edbus/src/lib/edbus_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/edbus/src/lib/edbus_service.h b/legacy/edbus/src/lib/edbus_service.h index 46c2c4a724..4a260cddca 100644 --- a/legacy/edbus/src/lib/edbus_service.h +++ b/legacy/edbus/src/lib/edbus_service.h @@ -24,7 +24,7 @@ typedef struct _EDBus_Arg_Info * The signature will be "ss" and each string will have a tag name on * introspect XML with the respective name. */ -#define EDBUS_ARGS(args...) (const EDBus_Arg_Info[]){ args, { } } +#define EDBUS_ARGS(args...) (const EDBus_Arg_Info[]){ args, { NULL, NULL } } typedef struct _EDBus_Service_Interface EDBus_Service_Interface; typedef EDBus_Message * (*EDBus_Method_Cb)(const EDBus_Service_Interface *iface, const EDBus_Message *message);