[gnome-bluetooth] Only use C90 declarations
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Only use C90 declarations
- Date: Tue, 4 Sep 2012 23:22:42 +0000 (UTC)
commit 29b7d34371fd4d24c7eb0a85d7431191c3e8e20b
Author: Colin Walters <walters verbum org>
Date: Tue Sep 4 19:21:46 2012 -0400
Only use C90 declarations
Fixes the build with the newer gnome-common.
sendto/obex-agent.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sendto/obex-agent.c b/sendto/obex-agent.c
index d5f58e8..cc0e2a8 100644
--- a/sendto/obex-agent.c
+++ b/sendto/obex-agent.c
@@ -368,6 +368,7 @@ gboolean obex_agent_setup(ObexAgent *agent, const char *path)
{
ObexAgentPrivate *priv = OBEX_AGENT_GET_PRIVATE(agent);
GError *error = NULL;
+ char *xml;
DBG("agent %p path %s", agent, path);
@@ -378,7 +379,6 @@ gboolean obex_agent_setup(ObexAgent *agent, const char *path)
priv->path = g_strdup (path);
- char *xml;
xml = g_strdup_printf (introspection_xml, path);
priv->introspection_data = g_dbus_node_info_new_for_xml (xml, NULL);
g_free (xml);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]