[Mesa-dev] [PATCH] egl/wayland: Make wayland_drm_init declaration match the implementation

Eric Engestrom eric.engestrom at imgtec.com
Wed Sep 20 10:52:28 UTC 2017


On Tuesday, 2017-09-19 20:33:47 +0000, Jason Ekstrand wrote:
> Fixes: 1d0be5b3fe548ee33d4520092f583c76d42510a6
> Cc: Emil Velikov <emil.velikov at collabora.com>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

> ---
>  src/egl/wayland/wayland-drm/wayland-drm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
> index 77e8d27..111383f 100644
> --- a/src/egl/wayland/wayland-drm/wayland-drm.h
> +++ b/src/egl/wayland/wayland-drm/wayland-drm.h
> @@ -34,7 +34,7 @@ wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource);
>  
>  struct wl_drm *
>  wayland_drm_init(struct wl_display *display, char *device_name,
> -		 struct wayland_drm_callbacks *callbacks, void *user_data,
> +		 const struct wayland_drm_callbacks *callbacks, void *user_data,
>                   uint32_t flags);
>  
>  void
> -- 
> 2.5.0.400.gff86faf
> 


More information about the mesa-dev mailing list