coverage: Use OVS_CONSTRUCTOR to initialize the coverage counter array
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 13 Dec 2013 13:05:02 +0000 (14:05 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Dec 2013 17:17:40 +0000 (09:17 -0800)
commit5521e08eb7a233129208a1c04ee11a0599f25879
tree42b020e48fc5b49bf3b62bccd0a5a3118d50153e
parent86e504e102aa69c379cd465966daf197152618e6
coverage: Use OVS_CONSTRUCTOR to initialize the coverage counter array

Use a static array in coverage.c that gets initialized by constructor
functions per coverage definition.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/coverage.c
lib/coverage.h