summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/name-test/test-names.c2
-rw-r--r--test/name-test/test-shutdown.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/name-test/test-names.c b/test/name-test/test-names.c
index f4b0ba08..b09f3638 100644
--- a/test/name-test/test-names.c
+++ b/test/name-test/test-names.c
@@ -37,7 +37,7 @@ typedef struct {
int expected_queue[NUM_CONN];
} CommandAndResult;
-CommandAndResult test_data[] = {
+static CommandAndResult test_data[] = {
{ADD_CONNECTION, 0, ALLOW_REPLACEMENT | REPLACE_EXISTING,
PRIMARY_OWNER, {0,-1,-1,-1}},
{ADD_CONNECTION, 0, REPLACE_EXISTING,
diff --git a/test/name-test/test-shutdown.c b/test/name-test/test-shutdown.c
index c50ef4b6..e76c1ea2 100644
--- a/test/name-test/test-shutdown.c
+++ b/test/name-test/test-shutdown.c
@@ -11,7 +11,7 @@ die (const char *message)
}
static void
-open_destroy_shared_session_bus_connection ()
+open_destroy_shared_session_bus_connection (void)
{
DBusError error;
DBusConnection *connection;