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

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

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

+8
+8
include/uapi/drm/via_drm.h
··· 26 26 27 27 #include "drm.h" 28 28 29 + #if defined(__cplusplus) 30 + extern "C" { 31 + #endif 32 + 29 33 /* WARNING: These defines must be the same as what the Xserver uses. 30 34 * if you change them, you must change the defines in the Xserver. 31 35 */ ··· 274 270 275 271 drm_via_blitsync_t sync; 276 272 } drm_via_dmablit_t; 273 + 274 + #if defined(__cplusplus) 275 + } 276 + #endif 277 277 278 278 #endif /* _VIA_DRM_H_ */