[PATCH weston v3 15/15] tests: Fix code style on path/filename routines

Bryce Harrington bryce at osg.samsung.com
Thu May 21 01:39:37 PDT 2015


Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 tests/weston-test-client-helper.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 1bfd43f..fda0ce7 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -839,7 +839,8 @@ create_client_and_test_surface(int x, int y, int width, int height)
 }
 
 static const char*
-output_path(void) {
+output_path(void)
+{
 	char *path = getenv("WESTON_TEST_OUTPUT_PATH");
 
 	if (!path)
@@ -848,7 +849,8 @@ output_path(void) {
 	}
 
 char*
-screenshot_output_filename(const char *basename, uint32_t seq) {
+screenshot_output_filename(const char *basename, uint32_t seq)
+{
 	char *filename;
 
 	if (asprintf(&filename, "%s/%s-%02d.png",
@@ -858,7 +860,8 @@ screenshot_output_filename(const char *basename, uint32_t seq) {
 }
 
 static const char*
-reference_path(void) {
+reference_path(void)
+{
 	char *path = getenv("WESTON_TEST_REFERENCE_PATH");
 
 	if (!path)
@@ -867,7 +870,8 @@ reference_path(void) {
 }
 
 char*
-screenshot_reference_filename(const char *basename, uint32_t seq) {
+screenshot_reference_filename(const char *basename, uint32_t seq)
+{
 	char *filename;
 
 	if (asprintf(&filename, "%s/%s-%02d.png",
-- 
1.9.1



More information about the wayland-devel mailing list