dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header
  2016-04-21 20:17 [PATCH 00/24] drm: add extern C guard for the UAPI headers Emil Velikov
@ 2016-04-21 20:17 ` Emil Velikov
  0 siblings, 0 replies; 2+ messages in thread
From: Emil Velikov @ 2016-04-21 20:17 UTC (permalink / raw)
  To: dri-devel; +Cc: Brian Paul, Thomas Hellstrom, emil.l.velikov

Cc: Sinclair Yeh <syeh@vmware.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header
       [not found] ` <1461267765-10785-25-git-send-email-emil.l.velikov@gmail.com>
@ 2016-04-22 17:40   ` Sinclair Yeh
  0 siblings, 0 replies; 2+ messages in thread
From: Sinclair Yeh @ 2016-04-22 17:40 UTC (permalink / raw)
  To: Emil Velikov; +Cc: Thomas Hellstrom, Brian Paul, dri-devel

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

Reviewed-by: Sinclair Yeh <syeh@vmware.com>

On Thu, Apr 21, 2016 at 08:42:45PM +0100, Emil Velikov wrote:
> Cc: Sinclair Yeh <syeh@vmware.com>
> Cc: Thomas Hellstrom <thellstrom@vmware.com>
> Cc: Brian Paul <brianp@vmware.com>
> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
> ---
>  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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-22 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1461267765-10785-1-git-send-email-emil.l.velikov@gmail.com>
     [not found] ` <1461267765-10785-25-git-send-email-emil.l.velikov@gmail.com>
2016-04-22 17:40   ` [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header Sinclair Yeh
2016-04-21 20:17 [PATCH 00/24] drm: add extern C guard for the UAPI headers Emil Velikov
2016-04-21 20:17 ` [PATCH 24/24] drm/vmwgfx: add extern C guard for the UAPI header Emil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).