Whamcloud - gitweb
Revert "b=23787 make struct lprocfs_percpu definition C99 compliant"
authorJohann Lombardi <johann.lombardi@oracle.com>
Fri, 17 Dec 2010 22:47:38 +0000 (23:47 +0100)
committerJohann Lombardi <johann.lombardi@oracle.com>
Fri, 17 Dec 2010 22:47:38 +0000 (23:47 +0100)
This reverts commit 46ff2dd66e91530f804d5b2321e58827f71e0251.
This is causing build errors.

lustre/include/lprocfs_status.h

index 11cebb0..ed58e7a 100644 (file)
@@ -159,13 +159,9 @@ struct lprocfs_counter {
 };
 
 struct lprocfs_percpu {
-#if __STDC_VERSION__ >= 199901L
-        __s64                  pad;
-#endif
         struct lprocfs_counter lp_cntr[0];
 };
 
-
 #define LPROCFS_GET_NUM_CPU 0x0001
 #define LPROCFS_GET_SMP_ID  0x0002