[PATCH wayland] server-core, event-loop: Fix parameter alignment.

Yong Bakos junk at humanoriented.com
Tue May 24 23:10:17 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 src/event-loop.c          | 8 ++++----
 src/wayland-server-core.h | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/event-loop.c b/src/event-loop.c
index ea27b69..5490042 100644
--- a/src/event-loop.c
+++ b/src/event-loop.c
@@ -227,7 +227,7 @@ struct wl_event_source_signal {
 
 static int
 wl_event_source_signal_dispatch(struct wl_event_source *source,
-			       struct epoll_event *ep)
+				struct epoll_event *ep)
 {
 	struct wl_event_source_signal *signal_source =
 		(struct wl_event_source_signal *) source;
@@ -249,9 +249,9 @@ struct wl_event_source_interface signal_source_interface = {
 
 WL_EXPORT struct wl_event_source *
 wl_event_loop_add_signal(struct wl_event_loop *loop,
-			int signal_number,
-			wl_event_loop_signal_func_t func,
-			void *data)
+			 int signal_number,
+			 wl_event_loop_signal_func_t func,
+			 void *data)
 {
 	struct wl_event_source_signal *source;
 	sigset_t mask;
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index fa7f394..750147f 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -71,9 +71,9 @@ wl_event_loop_add_timer(struct wl_event_loop *loop,
 
 struct wl_event_source *
 wl_event_loop_add_signal(struct wl_event_loop *loop,
-			int signal_number,
-			wl_event_loop_signal_func_t func,
-			void *data);
+			 int signal_number,
+			 wl_event_loop_signal_func_t func,
+			 void *data);
 
 int
 wl_event_source_timer_update(struct wl_event_source *source,
-- 
2.7.2



More information about the wayland-devel mailing list