]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/uapi/linux/keyctl.h
keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
[linux.git] / include / uapi / linux / keyctl.h
index 7b8c9e19bad1c2bf72c21dcf6b358559d5e4b4ea..0f3cb13db8e93efe9d6319395f21849e896f7a02 100644 (file)
 
 /* keyctl structures */
 struct keyctl_dh_params {
-       __s32 private;
+       union {
+#ifndef __cplusplus
+               __s32 private;
+#endif
+               __s32 priv;
+       };
        __s32 prime;
        __s32 base;
 };