telepathy-idle: Fix coding style nits in the tests
Simon McVittie
smcv at kemper.freedesktop.org
Wed May 30 05:08:46 PDT 2012
Module: telepathy-idle
Branch: master
Commit: f333fe80d27ded0882b9301ecab957bbe8d79e5e
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=f333fe80d27ded0882b9301ecab957bbe8d79e5e
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu May 10 14:35:51 2012 +0100
Fix coding style nits in the tests
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>
---
tests/test-ctcp-kill-blingbling.c | 4 +++-
tests/test-ctcp-tokenize.c | 4 +++-
tests/test-text-encode-and-split.c | 2 +-
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)
{
More information about the telepathy-commits
mailing list