ilmControl: control_thread variables are const
authorMarcus Fritzsch <marcus.fritzsch@xse.de>
Tue, 12 Aug 2014 08:41:54 +0000 (10:41 +0200)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Tue, 12 Aug 2014 13:15:16 +0000 (22:15 +0900)
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c

index 523b03d..951dbab 100644 (file)
@@ -1304,12 +1304,11 @@ static void cancel_read(void *d)
 static void*
 control_thread(void *p_ret)
 {
-    struct ilm_control_context *ctx = &ilm_context;
-    struct wayland_context *wl = &ctx->wl;
-    struct wl_display *display = wl->display;
-    struct wl_event_queue *queue = wl->queue;
-    int fd = wl_display_get_fd(display);
-
+    struct ilm_control_context *const ctx = &ilm_context;
+    struct wayland_context *const wl = &ctx->wl;
+    struct wl_display *const display = wl->display;
+    struct wl_event_queue *const queue = wl->queue;
+    int const fd = wl_display_get_fd(display);
     (void) p_ret;
 
     while (1)