summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-test.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-10-03 19:27:52 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-10-03 19:27:52 +0000
commit6af7202306a0f53f521d3ff6863d6b0e15207859 (patch)
treecc0316f3127b62e277c986517c31254a87c5c0a1 /hcid/dbus-test.c
parent6af2f85288b058b3a575622b01af6869100a7398 (diff)
Make audits list static and initialize it to NULL
Diffstat (limited to 'hcid/dbus-test.c')
-rw-r--r--hcid/dbus-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-test.c b/hcid/dbus-test.c
index a8f2fd7b..9e4ad690 100644
--- a/hcid/dbus-test.c
+++ b/hcid/dbus-test.c
@@ -49,7 +49,7 @@ struct audit {
guint io_id;
};
-struct slist *audits;
+static struct slist *audits = NULL;
static struct audit *audit_new(DBusConnection *conn, DBusMessage *msg, bdaddr_t *addr)
{