Skip to content

Commit

Permalink
drm/vmwgfx: add extern C guard for the UAPI header
Browse files Browse the repository at this point in the history
Cc: Thomas Hellstrom <[email protected]>
Cc: Brian Paul <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Sinclair Yeh <[email protected]>
  • Loading branch information
evelikov committed May 13, 2016
1 parent 3818081 commit d3450e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/uapi/drm/vmwgfx_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit d3450e0

Please sign in to comment.