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

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

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

+8
+8
include/uapi/drm/r128_drm.h
··· 35 35 36 36 #include "drm.h" 37 37 38 + #if defined(__cplusplus) 39 + extern "C" { 40 + #endif 41 + 38 42 /* WARNING: If you change any of these defines, make sure to change the 39 43 * defines in the X server file (r128_sarea.h) 40 44 */ ··· 328 324 int param; 329 325 void __user *value; 330 326 } drm_r128_getparam_t; 327 + 328 + #if defined(__cplusplus) 329 + } 330 + #endif 331 331 332 332 #endif