From 8be13c069909b9ba741885aca963279ebb1cbdd8 Mon Sep 17 00:00:00 2001 From: Lai Siyao Date: Tue, 26 Apr 2011 18:23:08 -0700 Subject: [PATCH] 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 --- 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 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]; }; -- 1.8.3.1