pcmcia: Replace zero-length array with flexible-array
[linux-2.6-microblaze.git] / include / pcmcia / cistpl.h
index 59a0111..749320c 100644 (file)
@@ -161,7 +161,7 @@ typedef struct cistpl_funcid_t {
 
 typedef struct cistpl_funce_t {
     u_char     type;
-    u_char     data[0];
+    u_char     data[];
 } cistpl_funce_t;
 
 /*======================================================================
@@ -255,7 +255,7 @@ typedef struct cistpl_data_serv_t {
     u_char     escape;
     u_char     encrypt;
     u_char     misc_features;
-    u_char     ccitt_code[0];
+    u_char     ccitt_code[];
 } cistpl_data_serv_t;
 
 typedef struct cistpl_fax_serv_t {
@@ -265,7 +265,7 @@ typedef struct cistpl_fax_serv_t {
     u_char     encrypt;
     u_char     features_0;
     u_char     features_1;
-    u_char     ccitt_code[0];
+    u_char     ccitt_code[];
 } cistpl_fax_serv_t;
 
 typedef struct cistpl_voice_serv_t {