Re: [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Are these going to be ported over to corresponding files in libdrm?

Reviewed-by: Sinclair Yeh <syeh@xxxxxxxxxx>

On Thu, Apr 21, 2016 at 08:42:45PM +0100, Emil Velikov wrote:
> Cc: Sinclair Yeh <syeh@xxxxxxxxxx>
> Cc: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
> Cc: Brian Paul <brianp@xxxxxxxxxx>
> Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>
> ---
>  include/uapi/drm/vmwgfx_drm.h | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
> index 5b68b4d..d325a41 100644
> --- a/include/uapi/drm/vmwgfx_drm.h
> +++ b/include/uapi/drm/vmwgfx_drm.h
> @@ -30,6 +30,10 @@
>  
>  #include "drm.h"
>  
> +#if defined(__cplusplus)
> +extern "C" {
> +#endif
> +
>  #define DRM_VMW_MAX_SURFACE_FACES 6
>  #define DRM_VMW_MAX_MIP_LEVELS 24
>  
> @@ -1087,4 +1091,9 @@ union drm_vmw_extended_context_arg {
>  	enum drm_vmw_extended_context req;
>  	struct drm_vmw_context_arg rep;
>  };
> +
> +#if defined(__cplusplus)
> +}
> +#endif
> +
>  #endif
> -- 
> 2.6.2
> 
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux