summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-10 14:35:51 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-10 14:35:51 +0100
commit7a8847fb1ad087e933b9eb382d6bbd74497e84f5 (patch)
tree530387aa888eab1771ee5a3a357bafd93b29d71c
parentcd857790a95fd0b434479b50910a5a404f1478d3 (diff)
Fix coding style nits in the testscatch-up
-rw-r--r--tests/test-ctcp-kill-blingbling.c4
-rw-r--r--tests/test-ctcp-tokenize.c4
-rw-r--r--tests/test-text-encode-and-split.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/tests/test-ctcp-kill-blingbling.c b/tests/test-ctcp-kill-blingbling.c
index 192fbb7..559282b 100644
--- a/tests/test-ctcp-kill-blingbling.c
+++ b/tests/test-ctcp-kill-blingbling.c
@@ -3,7 +3,9 @@
#include <stdio.h>
#include <string.h>
-int main() {
+int
+main (void)
+{
gboolean fail = FALSE;
const gchar *test_strings[] = {
diff --git a/tests/test-ctcp-tokenize.c b/tests/test-ctcp-tokenize.c
index 6421724..58794d8 100644
--- a/tests/test-ctcp-tokenize.c
+++ b/tests/test-ctcp-tokenize.c
@@ -6,7 +6,9 @@
#include <telepathy-glib/util.h>
-int main() {
+int
+main (void)
+{
gboolean fail = FALSE;
const gchar *test_str = "\001 foo \" fo bar\" bar\\001\\002\\003baz\"for every foo there is \\001 bar\\\\\001";
diff --git a/tests/test-text-encode-and-split.c b/tests/test-text-encode-and-split.c
index 86cf6ac..c0a6083 100644
--- a/tests/test-text-encode-and-split.c
+++ b/tests/test-text-encode-and-split.c
@@ -19,7 +19,7 @@
G_STMT_END
-gboolean
+static gboolean
test (TpChannelTextMessageType type,
gchar *msg)
{