Fix zero-length array
authorDavid Schleef <ds@schleef.org>
Fri, 30 Aug 2002 22:26:32 +0000 (22:26 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 30 Aug 2002 22:26:32 +0000 (22:26 +0000)
include/linux/comedidev.h

index e7a83f0a14ad0ef5dfaaf9cc11fd5cad5ceb6cb4..192c68dc5d48deae8492ced05f94398f375f0291 100644 (file)
@@ -286,7 +286,7 @@ extern comedi_lrange range_unknown;
 
 struct comedi_lrange_struct{
        int length;
-       comedi_krange range[0];
+       comedi_krange range[];
 };