From: Emil Velikov Date: Thu, 25 Aug 2016 11:08:07 +0000 (+0100) Subject: egl/android: annotate static const data as such X-Git-Tag: upstream/17.1.0~6796 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4472b6e46985d0e80bdcf385f9dde542daeb5c55;p=platform%2Fupstream%2Fmesa.git egl/android: annotate static const data as such Signed-off-by: Emil Velikov Reviewed-by: Tomasz Figa --- diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index e7b30b4..512a1b8 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -753,7 +753,7 @@ static EGLBoolean droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *dpy) { struct dri2_egl_display *dri2_dpy = dri2_egl_display(dpy); - const struct { + static const struct { int format; unsigned int rgba_masks[4]; } visuals[] = {