History

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

Emil Velikov committed 10 years ago

Commit b6c2b641 parent 6a982351 file · +8 −0Browse files

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

Unified · Split

include/uapi/drm/via_drm.h+8−0
@@ -26,6 +26,10 @@ · 25 unmodified lines
26 26
27#include "drm.h"27#include "drm.h"
28 28
29#if defined(__cplusplus)
30extern "C" {
31#endif
32
29/* WARNING: These defines must be the same as what the Xserver uses.33/* WARNING: These defines must be the same as what the Xserver uses.
30 * if you change them, you must change the defines in the Xserver.34 * if you change them, you must change the defines in the Xserver.
31 */35 */
@@ -271,4 +275,8 @@ typedef struct drm_via_dmablit { · 239 unmodified lines
271 drm_via_blitsync_t sync;275 drm_via_blitsync_t sync;
272} drm_via_dmablit_t;276} drm_via_dmablit_t;
273 277
278#if defined(__cplusplus)
279}
280#endif
281
274#endif /* _VIA_DRM_H_ */282#endif /* _VIA_DRM_H_ */