History

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

Emil Velikov committed 10 years ago

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

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

Unified · Split

include/uapi/drm/mga_drm.h+8−0
@@ -37,6 +37,10 @@ · 36 unmodified lines
37 37
38#include "drm.h"38#include "drm.h"
39 39
40#if defined(__cplusplus)
41extern "C" {
42#endif
43
40/* WARNING: If you change any of these defines, make sure to change the44/* WARNING: If you change any of these defines, make sure to change the
41 * defines in the Xserver file (mga_sarea.h)45 * defines in the Xserver file (mga_sarea.h)
42 */46 */
@@ -416,4 +420,8 @@ typedef struct drm_mga_getparam { · 373 unmodified lines
416 void __user *value;420 void __user *value;
417} drm_mga_getparam_t;421} drm_mga_getparam_t;
418 422
423#if defined(__cplusplus)
424}
425#endif
426
419#endif427#endif