Whamcloud - gitweb
LU-239 Lustre Header (include/lprocfs_status.h) is not ISO C99 complaint
authorLai Siyao <laisiyao@whamcloud.com>
Wed, 27 Apr 2011 01:23:08 +0000 (18:23 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 May 2011 02:47:52 +0000 (19:47 -0700)
Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: I40ce6ac0ecaaf19c01cd25603971ff1fb8ed10df
Reviewed-on: http://review.whamcloud.com/465
Tested-by: Hudson
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lprocfs_status.h

index 9ce1985..ccfb446 100644 (file)
@@ -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];
 };