From: Lai Siyao Date: Wed, 27 Apr 2011 01:23:08 +0000 (-0700) Subject: LU-239 Lustre Header (include/lprocfs_status.h) is not ISO C99 complaint X-Git-Tag: 2.0.60~7 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8be13c069909b9ba741885aca963279ebb1cbdd8;p=fs%2Flustre-release.git LU-239 Lustre Header (include/lprocfs_status.h) is not ISO C99 complaint Signed-off-by: Lai Siyao Change-Id: I40ce6ac0ecaaf19c01cd25603971ff1fb8ed10df Reviewed-on: http://review.whamcloud.com/465 Tested-by: Hudson Reviewed-by: Yang Sheng Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lprocfs_status.h b/lustre/include/lprocfs_status.h index 9ce1985..ccfb446 100644 --- a/lustre/include/lprocfs_status.h +++ b/lustre/include/lprocfs_status.h @@ -155,6 +155,9 @@ struct lprocfs_counter { }; struct lprocfs_percpu { +#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L + __s64 pad; +#endif struct lprocfs_counter lp_cntr[0]; };