[PATCH weston 3/7] text: Fix coding style

Derek Foreman derekf at osg.samsung.com
Fri Dec 5 13:38:37 PST 2014


Put the return type on a separate line in function declarations.

Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 src/text-backend.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/text-backend.c b/src/text-backend.c
index 6246b30..092321a 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -104,11 +104,14 @@ struct text_backend {
 	struct wl_listener destroy_listener;
 };
 
-static void input_method_context_create(struct text_input *model,
-					struct input_method *input_method);
-static void input_method_context_end_keyboard_grab(struct input_method_context *context);
+static void
+input_method_context_create(struct text_input *model,
+			    struct input_method *input_method);
+static void
+input_method_context_end_keyboard_grab(struct input_method_context *context);
 
-static void input_method_init_seat(struct weston_seat *seat);
+static void
+input_method_init_seat(struct weston_seat *seat);
 
 static void
 deactivate_text_input(struct text_input *text_input,
-- 
2.1.3



More information about the wayland-devel mailing list