From 87d7532b65826450c9ae278fadae02452222e55d Mon Sep 17 00:00:00 2001 From: LaiSiYao Date: Fri, 18 Feb 2011 23:31:40 +0800 Subject: [PATCH] b=23787 Modified struct lprocfs_percpu to be C99 compliant. i=yangsheng --- lustre/include/lprocfs_status.h | 3 +++ 1 file changed, 3 insertions(+) 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]; }; -- 1.8.3.1