ofp-util: compile group stats with visual studio
authorAndy Zhou <azhou@nicira.com>
Fri, 25 Apr 2014 08:34:09 +0000 (08:34 +0000)
committerAndy Zhou <azhou@nicira.com>
Thu, 8 May 2014 23:18:33 +0000 (16:18 -0700)
commit63759e71f6a2e54a6e15b9ab5e32618996b3936f
tree1807cf1a8244c2e0a23ea5feb2c675b00be7a43a
parent6d765f17a85a64f7d83c5083bdf01ae21702cd3e
ofp-util: compile group stats with visual studio

Visual studio supports zero-size array within a struct or union,
but has to be the last element. GCC does not have this restriction.

Commits 644cfd84772eb7d8 and 6fdaa45a6f6c9 make use of 0 size array.
Remove them so that visual studio can compile them as well.

Reported-by: Gurucharan Shetty <gshetty@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.1.h
include/openflow/openflow-1.3.h
lib/ofp-util.c