flow: Make compile with MSVC.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 17 Jul 2015 00:42:24 +0000 (17:42 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 17 Jul 2015 00:42:24 +0000 (17:42 -0700)
commit09b0fa9c559e448936feafa3fe68b4f955832afa
tree879ddcf608b90fcfd92f13e773be7c5888dae07a
parent2cd87fce128c2c983da8c5fce4604e2e699b59c0
flow: Make compile with MSVC.

MSVC does not like zero sized arrays in structs.  Hence, remove the
'values' member from struct miniflow and add back the getters
miniflow_values() and miniflow_get_values().

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier-private.h
lib/classifier.c
lib/dpif-netdev.c
lib/flow.c
lib/flow.h
lib/match.c