Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>

+8
+8
include/uapi/drm/i810_drm.h
··· 3 3 4 4 #include "drm.h" 5 5 6 + #if defined(__cplusplus) 7 + extern "C" { 8 + #endif 9 + 6 10 /* WARNING: These defines must be the same as what the Xserver uses. 7 11 * if you change them, you must change the defines in the Xserver. 8 12 */ ··· 283 279 int *length; /* List of lengths for GFXBlocks (FUTURE) */ 284 280 unsigned int last_render; /* Last Render Request */ 285 281 } drm_i810_mc_t; 282 + 283 + #if defined(__cplusplus) 284 + } 285 + #endif 286 286 287 287 #endif /* _I810_DRM_H_ */