History

drm/msm: add extern C guard for the UAPI header

Emil Velikov committed 10 years ago

Commit a62424e1 parent c56e0461 file · +8 −0Browse files

Showing the changes to include/uapi/drm (1 of 1 file). Show all

Unified · Split

include/uapi/drm/msm_drm.h+8−0
@@ -20,6 +20,10 @@ · 19 unmodified lines
2020
2121 #include "drm.h"
2222
23+#if defined(__cplusplus)
24+extern "C" {
25+#endif
26+
2327 /* Please note that modifications to all structs defined here are
2428 * subject to backwards-compatibility constraints:
2529 * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit
@@ -217,4 +221,8 @@ struct drm_msm_wait_fence { · 191 unmodified lines
217221 #define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit)
218222 #define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence)
219223
224+#if defined(__cplusplus)
225+}
226+#endif
227+
220228 #endif /* __MSM_DRM_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t