[PATCH xserver 05/15] dri3: annotate {s, }proc_dri3_vector as static const

Adam Jackson ajax at nwnk.net
Wed Apr 4 19:03:16 UTC 2018


On Mon, 2018-04-02 at 16:41 +0100, Emil Velikov wrote:

> diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c
> index fc258711b..7ced6747c 100644
> --- a/dri3/dri3_request.c
> +++ b/dri3/dri3_request.c
> @@ -32,6 +32,9 @@
>  #include <protocol-versions.h>
>  #include <drm_fourcc.h>
>  
> +/* Should be provided by the guts of X */
> +typedef int (* DispatchProc) (ClientPtr client);
> +

I mean, maybe. But if you're doing that go ahead and do it in a header
and fix up the other dispatch vectors, otherwise this is just being
different for no reason.

- ajax


More information about the xorg-devel mailing list