Whamcloud - gitweb
b=23787 Modified struct lprocfs_percpu to be C99 compliant.
authorLaiSiYao <laisiyao@whamcloud.com>
Fri, 18 Feb 2011 15:31:40 +0000 (23:31 +0800)
committerTerry Rutledge <terry.rutledge@oracle.com>
Fri, 18 Feb 2011 16:42:23 +0000 (08:42 -0800)
i=yangsheng

lustre/include/lprocfs_status.h

index f60764c..91a0eae 100644 (file)
@@ -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];
 };