History

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

Emil Velikov committed 10 years ago

Commit 60ef9101 parent ebbb0e51 file · +8 −0Browse files

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

Unified · Split

include/uapi/drm/etnaviv_drm.h+8−0
@@ -19,6 +19,10 @@ · 18 unmodified lines
19 19
20#include "drm.h"20#include "drm.h"
21 21
22#if defined(__cplusplus)
23extern "C" {
24#endif
25
22/* Please note that modifications to all structs defined here are26/* Please note that modifications to all structs defined here are
23 * subject to backwards-compatibility constraints:27 * subject to backwards-compatibility constraints:
24 * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit28 * 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit
@@ -222,4 +226,8 @@ struct drm_etnaviv_gem_wait { · 197 unmodified lines
222#define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr)226#define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr)
223#define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait)227#define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait)
224 228
229#if defined(__cplusplus)
230}
231#endif
232
225#endif /* __ETNAVIV_DRM_H__ */233#endif /* __ETNAVIV_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