From: LaiSiYao Date: Fri, 18 Feb 2011 15:31:40 +0000 (+0800) Subject: b=23787 Modified struct lprocfs_percpu to be C99 compliant. X-Git-Tag: 1.8.5.55~11 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=87d7532b65826450c9ae278fadae02452222e55d;p=fs%2Flustre-release.git b=23787 Modified struct lprocfs_percpu to be C99 compliant. i=yangsheng --- diff --git a/lustre/include/lprocfs_status.h b/lustre/include/lprocfs_status.h index f60764c..91a0eae 100644 --- a/lustre/include/lprocfs_status.h +++ b/lustre/include/lprocfs_status.h @@ -159,6 +159,9 @@ struct lprocfs_counter { }; struct lprocfs_percpu { +#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L + __s64 pad; +#endif struct lprocfs_counter lp_cntr[0]; };