summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-18 17:30:03 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-18 15:02:37 -0700
commit0e89d5c7780feb05defe3480196d4782c190ef6a (patch)
tree25bef3eb709afeb679813262412f1ebae2354aed
parent943cffdfb0b70d22bcc3513f425398ee7cdd196f (diff)
downloadconnman-0e89d5c7780feb05defe3480196d4782c190ef6a.tar.gz
connman-0e89d5c7780feb05defe3480196d4782c190ef6a.tar.bz2
connman-0e89d5c7780feb05defe3480196d4782c190ef6a.zip
Constify GDBus signal tables
-rw-r--r--plugins/nmcompat.c2
-rw-r--r--src/clock.c2
-rw-r--r--src/manager.c2
-rw-r--r--src/service.c2
-rw-r--r--src/technology.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/nmcompat.c b/plugins/nmcompat.c
index 70376489..6299c349 100644
--- a/plugins/nmcompat.c
+++ b/plugins/nmcompat.c
@@ -225,7 +225,7 @@ static const GDBusMethodTable methods[] = {
{ },
};
-static GDBusSignalTable signals[] = {
+static const GDBusSignalTable signals[] = {
{ "PropertiesChanged", "a{sv}" },
{ "StateChanged", "u" },
{ },
diff --git a/src/clock.c b/src/clock.c
index 8f8aa613..41e431f1 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -314,7 +314,7 @@ static const GDBusMethodTable clock_methods[] = {
{ },
};
-static GDBusSignalTable clock_signals[] = {
+static const GDBusSignalTable clock_signals[] = {
{ "PropertyChanged", "sv" },
{ },
};
diff --git a/src/manager.c b/src/manager.c
index dc3702dd..b4481859 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -416,7 +416,7 @@ static const GDBusMethodTable manager_methods[] = {
{ },
};
-static GDBusSignalTable manager_signals[] = {
+static const GDBusSignalTable manager_signals[] = {
{ "PropertyChanged", "sv" },
{ "TechnologyAdded", "oa{sv}" },
{ "TechnologyRemoved", "o" },
diff --git a/src/service.c b/src/service.c
index 8f61b3db..595a3779 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3826,7 +3826,7 @@ static const GDBusMethodTable service_methods[] = {
{ },
};
-static GDBusSignalTable service_signals[] = {
+static const GDBusSignalTable service_signals[] = {
{ "PropertyChanged", "sv" },
{ },
};
diff --git a/src/technology.c b/src/technology.c
index 5b1de9e7..30a9f4d9 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -867,7 +867,7 @@ static const GDBusMethodTable technology_methods[] = {
{ },
};
-static GDBusSignalTable technology_signals[] = {
+static const GDBusSignalTable technology_signals[] = {
{ "PropertyChanged", "sv" },
{ },
};